getEntitiesByBooleanField-method now uses generics

Refactored the newly created getEntitiesByBooleanField-method by using
the strategy of Java-generics. So the returned database-objects are
already casted to the passed type on the DAO level.
Also adapted the existing call of the method.