Add f-ext? predicate function

I periodically need to check the extension of a file in a mode hook to see if I should further enhance the mode (eg, skip [tagedit](https://github.com/magnars/tagedit) for some file types that just don't jive with it too well).

This function makes that a bit prettier.

Nice library, btw.