Update jquery.hierarchy.js

Allow for generic objects rather than specified ones (to use just have an empty object for `_children` in the schema)
Allow for objects to reference other objects (to use add an `_extends` option in the schema which points to another object (in the form `firstlevel-secondlevel-extendedobject`. These can be nested.