When sorting two hashes, break ties for hashes with same set of keys by comparing values. Fixes introduction of random looking changes when modifying large YAML blocks containing arrays of hashes.
Add comment to make test logic clear
Fix copyright dates to extend through 2013. Add license to gemspec (issue #4). Bump version number and date for new release.