defaultErrors is not available in validator 3.x so I create a object to keep retro compatibility.
adding the travis file in order to make possible add this project to travis-ci
changing documentation. method len is isLength now.
making mongoose-validator compatible with node-validator 3.x