Allow types to have supertypes and add convenience methods for switched endianness
Fix bug (not sure if this is correct, but it seemed to fix my problem)
Properly fix offset bug and add test
Merge pull request #6 from loladiro/master

A couple of changes