query_input duplicated to validate_input directive
make query input error style universal
replace query_input with validate_query
add validate_json directive, fix validate_query test name
use validate_json on json agg input, add invalid style on textareas
disable form submit when invalid