Languages whitelist and blacklist

Adds possibility to provide lists of whitelisted and blacklisted languages, as proposed in #4