refactored internal WebPAC::Input::* API a bit, added dump_rec, validate is now more clever and reports all errors from database at end