replaced OType.ordianl() with OType.id in the binary serialzation.
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop