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".