Switch from Bourne/Mocha to RSpec Mocks

Benefits:

* Officially supported by RSpec team.
* Compact.
* Good failure messages.

Other changes:

* Move database cleaner and background job spec config to separate files

https://trello.com/c/jjYgvd15