Fixes #305. Implemented automatic property type conversion

Converts properties with convertible types while loading nodes from the database and persisting them.