Do not insert the logger middleware when the logger doesn't have a formatter.

Rails 3.2 ActiveSupport::BufferedLogger doesn't have a formatter. Inserting this middleware prevents Trasher to work with that version of Rails out of the box.