Convert to rspec tests.
Remove Ruby 1.8 support.
Minor updates to README.
When formatting, round to the specified number of places rather than truncating.