LearnBoost/mongoose — pull request #721 by diogogmt (2012-02-08 02:37:52+00:00)
Title: Add multiple validators to a schema type

The ticket for this pull request is the following: https://github.com/LearnBoost/mongoose/issues/718

Now multiple validators can be added to a schema type in the declaration stage.
I changed the key names of the validator object to 'validator' instead of 'func' and 'msg' instead of 'error'

All the previous tests are passing and I added a new to test to check adding multiple validators.