Update metadata_update_job to generate alert entries.
type is not an attribute for upload alerts.  content_type is though.
Add change_type field to Upload Alerts to track whether something is a file edit or file create.
Add a 'create_from_core_file' class method to UploadAlert.  Test it.
Change :edit to :update for consistency's sake.
UploadAlert now properly created on update, files tagged as having a category on create.
metadata_update_job now creates an upload alert when files are saved.
Upload Alerts now use the actual category names when running queries, also have the ability to switch between change type.
Fix describe block string
Update mailer to account for special content uploads as well.
First cut at tests.
Merge branch 'develop' into feature/special_content_logic

Conflicts:
	db/schema.rb
Merging
Make hacky patch migration only run if it needs to.
Update schema
Adds working test for query methods over UploadAlerts.
Adds a basic test for metadata mailers, also configures the test environment to have a default :host option when sending emails.
bleh
Merge pull request #258 from nu-lts/feature/special_content_logic

Feature/special content logic