Moved the package definition to package.
Move binary type definitions to the gigamonkies binary library.

Add a restart for invalid segment.
Add support for app1 segments (exif format).

Reading is supported to the extent it has been tested.
Writing is not fully supported yet.