[OPENENGSB-3625] fix edb model property type conversion

fixes [OPENENGSB-3625], also added more tests for this

 [OPENENGSB-3625]: http://issues.openengsb.org/jira/browse/OPENENGSB-3625