Persist jcr/xml in hierarchy structure.

https://www.pivotaltracker.com/s/projects/684825/stories/75644184
"parent" should actually be "parentID", no?
When the index() call concatenates "baseURL" and "parent" it should have a valid URI.

Should this instead be:
final String parentID = uri.substring(uri.lastIndexOf("/"));