Fix most specs. Includes:

* Remove unused minitests
* Fix unmaintained specs
* Only configure carriewave in appropriate environments
* Add shoulda- and paperclip- matchers
* Various other spec improvements
* Accept pdf docs