Database updates

* Remove null checking code from #80 
* Update database so medias.fileExtension allows a null value
* Add database upgrade script + version table
* Add one specifically for hbsql (it doesn't like `DROP NOT NULL`)

Fixes #82

Confirmed working on a development system.

@abmargb this may affect your deployments/hosting platform
@imaginator may affect your docker files