Automatically detect files with a ".t" extension

My template files use ".t" as an extension, so I have manually added this to the detector and thought you might find it useful.