fixed exists: now checks for the correct child index key
added a unit test
added tree() method to create a \arc\tree\NamedNode tree from a nested hash
made the root argument to compileName() optional
Merge pull request #5 from poef/master

fixed and tested hash, added tree() method