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
Right now this test cause the whole suite to stop.
So I added the fail() so that we stay aware that the test is not working.