Minor de-smellification (though the stench is still overwhelming)
More cleanups to the ACL api
Minor enhancements/fixes to graph managers and better test coverage
Formatting fix
Some rebalancing of where to put unsafe casts
Merge branch 'master' into acl_graph

Conflicts:
	ehri-extension/src/main/java/eu/ehri/extension/PermissionsResource.java
	ehri-frames/src/main/java/eu/ehri/project/acl/AclManager.java
	ehri-frames/src/main/java/eu/ehri/project/core/impl/SingleIndexGraphManager.java