Fix setters

Addressing issue #89: Fixed all entity-handling setters to unset field (optional fields) or throw run-time error (obligatory fields) if empty entity passed & fixed handling of empty strings by setters.