Merge pull request #7 from nnutter/test

Fix serialized JSON sorting failure in test
add cpanfile
add Travis CI config
Perl 5.14 and 5.16 are failing