comma/base/types.h: added integer type
packed: fixed bugs in little endian and got rid of reverse in big endian

Static cast to an integer of a suitable size is necessary before shifting bits to the left.
reverse in big endian for floats is replaced with per-byte processing, the same as in little endian.
Merge branch 'master' of https://github.com/acfr/comma