Removing validator deps

Hi,

[`validator`](https://npmjs.org/package/validator) package is used only in locals.js to check if is email or not. All the another functions are not used, so i proposed removal and a creation a single regex validation without third packages.

Thanks.