Using FileType in addition to extensions

Deal with the cases when file type is set but the extensions aren't known. Useful for people who have Mojolicious templates setup as "perl" and "html", or just having command line programs that don't have extensions relying on shebang.