Removing network manager / refactoring metadata manager to use RestRequest and RestClient

Also new rest wrappers for search scope and order / search result layout
Tests for new wrappers
Oh, its for tests. Never mind then :-)