Add some new features to the HotDocs Embedded test page; allow saving/resuming sessions.
Fix problem with GetRootedPath where it returned the wrong value.