Rspec

Added in rspec testing and fixed a couple of bugs spontaneously popping in the terms_controller.  Refactored the report_photo.image_url method