Support for translations

Translations should be put under `trans` directory and set on `trans/index.js` file.

Also, a custom translation locale and dictionary can be set as parameter using the `options.trans.locale` and `options.trans.translations` parameters.