Added status to save button
Added database version and updater for latest database changes.
Changed added field in images table to updated.
Added some logging, which is disabled.
Added an option to enable/disable rotating of images.
Added way of clearing unfinished scan job if it fails.
Added check to ensure a scan is not run when it's not supposed to.
Cleaned up and added more info to scan status messages.
Implemented rotateImage function.
Fixed issues with modification file times (now using UTC).
Change mysqlDate to return an unmodified date (localtime).
Fixed so will resize image if have rotated or flipped image.