Add a test for adding a nested doc unit via REST
Tiny cleanup
Remove unused modules
Merge branch 'master' into acl_graph