rmarshal: add type annotations
rmarshal: move types to rmarshal.hrl
rmarshal_tests: add an example with a negative float