Support ActiveModel 4.0, which unfortunately does not send :class an an option to the validator’s constructor.
Merge pull request #3 from wvanbergen/support_activesupport40

Support ActiveModel 4.0