Rework validations

They are now part of the options block. No more shell command
executor popen3 for now as it does no pass in jruby and we
don't really need it.