This also fixes the tests for buffer overflow to now work for all primitive types.
If num_bytes can be removed then a generic to_bytes and from_bytes trait can be created that will help with serializing structures and generic data.
Numbers can be converted to and from bytes in both BigEndian and LittleEndian styles. This does not yet take care of the other mathematical structures provided by Sigil. Also, no tests of these capabilities have been written yet.