Improved error handling if attempted to serialize types not handled by the binary serialization

This reverts commit 7a9b15c92027af05f695cfd2c59a6db07dce7500.

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/binary/ORecordSerializerBinary.java
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop