add normalized extensions

i.e. in addition to extension provided in the conf it now also looks
for files with a period prefix either added or removed

this fixes the matching, for example, for '.cpp' and 'hpp' where one has
a leading period and the other doesn't