Misc refactors; improved logging; added SimpleCov

Refactored a lot of the “redirect_to :back” logic that existed in a ton
of places into one method. Added SimpleCov to measure unit/integration
test coverage. Consolidated find_by_id logic into before_filter methods
for several controllers. Improved logging by specifying what went wrong
in several different places.