Added ManagementConsole API and some missing tests.

you should check that get is called with the hash in the headers too, not only with the second argument