Little endian serialization was done the wrong way

Also fix some warnings for non ARCH_IS_LITTLE_ENDIAN.

Fix #33
bump version