validatior#setup is deprecated in activemodel 4.1

instead class is passed to initialize
Merge pull request #569 from fcheung/validator_setup_deprecated

validatior#setup is deprecated in activemodel 4.1