Add rake task to repair attachment filenames

The rake task leverages DataHygiene::ActiveRecord::StaleObjectError
to repair any documents that have attachments with double (or more!)
extensions. It employs a different strategy, depending on the state
of the document (i.e. draft, published or published with a new draft).