Filetype whitelist option added.

Also renaming the filetype blacklist option for the sake of symmetry.
Fixes #178.