Use simplecov directly rather than coveralls.
Silence ruby warnings from simplecov.
Convert specs to the latest RSpec syntax with Transpec

This conversion is done by Transpec 1.4.0 with the following command:
    transpec -m -s --keep should,deprecated

* 79 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 10 conversions
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

* 8 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

* 3 conversions
    from: obj.stub(:message => value)
      to: allow(obj).to receive_messages(:message => value)
Post transpec cleanup.

Since we are testing the syntaxes here, we need to
be careful which ones we use in the tests. We can't
use `expect` when the syntax is configured to only
`:should`.
Remove dead code.