added Filetypes.extensionFor(s) function and fixed the tests
Merge pull request #2 from vrcca/master

Add Filetypes.extensionFor(s) function