Council chiefs have been forced to shut down access to a range of search engines and have suspended pupils access to Wikipedia across Edinburgh.