feature(plugin) add maxLength and types as options

The types array and max length for the subject is now configurable via
the poppins `config.js` file.

The default values are the values of the previously used `MAX_LENGTH`
and `TYPES` variables.