set up simplecov and make coveralls more accurate

now when you run `rake test` an HTML file is generated by simplecov in
`coverage/index.html` for your perusing pleasure, to see which files
need better coverage
fix wonky problem with minitest & rails 4

see the comments in #2517 for more info