Replace or remove case hash in email subject

Allows you to remove the hash completely, or move it to the end of the subject, optionally also replacing it with the actual case id instead of a hash. Also on the Find Cases page, the case id field will accept a hash for searching.