Merge pull request #24 from andreasgudmundsson/master

srl_encoder.c: fix bug when sort_keys,stringify_unknown are combined
go: make sure we test both float and double types
go: handle interfaces when packing by recursing until we hit a concrete type
go: more complex nested types
go: edge cases for integer encodings
Report which type we don't support
Test the Perl corpus output from Go
Catch internal errors and return them like a good Go citizen
Fix tests to only use actual test data
Split out comparsion of magic, version, and type
Compare the header to the magic constant in const.go
Use a switch statement to handle the document type
Skip the forwards compatability header data
Use dummy function to handle header
Handle type 1 snappy documents
Add a comment about increasing flexibility
Implement unpacking of type 2 snappy documents
Actually parse out the header size
Construct pack header using Magic constant
Add snappy pack support