Merge pull request #3 from andrewgho/fix_hash_sort

Try hard to sort hashes deterministically
Merge pull request #5 from andrewgho/license_and_copyright

Fix copyright dates, add license to gemspec (issue #4)