new 'toList' helper.
Using neo4j: If entity-type does not match, return null
(TypeSafetyOption.RETURNS_NULL).
Correct cleanup when app is shutdown + correct booting of shiro in
FacesContextTest*.