Major change to the way that nested collections are handled
Fixes issues 1, 2, 3, 4, 5 and 6. Commands now single hierachy. Nested collections and nested hypermedia resoruces now behave correctly. Commands and Links now evented. toJSON now includes links and commands