Allow class option to Temporal Validator

for Rails 4 compatibility