By rblanker: Fixed PHP strict notice in mimetype function.
By rblanker: Fixed file not found notices when using shell command find on non-existing directories.
By rblanker: Fixed serious bug MariaDB 5.5 with subtracting dates when timing out upload and normal jobs. Rewritten SQL to use MySQL TIMEDIFF() function instead. See mediamosa_job_scheduler::check_upload_timeout() function.
By Wessel Dankers: Clear messages session variable after each REST call.