updated unit test and corrected a variety of issues
more fixes to the unit tests
Allow for tree_name parameter to edit method
Generally what I'd like to do at some point is create the pages as static assets in the make process, and remove these handlers entirely.