implemented support for DECIMAL and LINKBAG in binary serialization. issue #681
fixed bug on binary serialization bytes managment. issue #681