compiler: first pass at @validation
compiler: java: support validation
compiler: js: use Backbone.Validation
compiler: set required in field.validation correctly