sample_type_e: Changed enum order.

- Swapped places of fixed an float.

Specializations of int and fixed are more similar than float. Most
code so far lays out much better if int is next to fixed.
Added sample traits.
Split sample type traits from sample traits.
Added buffer, unit test.