Shader Database: Implement support to check if files have been updated

Will only check this every 14 days since atime was last updated - if a
file is regularly accessed it might never check, but it's probably good
enough for now.