Make gem rspec3 compatible

For RSPEC 3 matchers need to expose failure_message and failure_message_when_negated as the old failure_message_for_should and failure_message_for_should_not are deprecated.

Also updated the specs to use the new expect(subject).to syntax.