Add support for conditional validations. Set scope of the sinatra context in order to call Sintra methods inside validators.