#386 Entity is now deleted via Doctrine
#386 Fixed setting boolean and date values for entity
#386 empty entity is no longer allowed
#386 fixed checking wether eid or entityid was given, ctype requires a string to validate
#386 Deleting arps is now done via doctrine and wrapped in a transaction
#386 Fixed null support in expiration date to datetime conversion