selector.js: add functions has_class(), add_class() and remove_class() to manage css classes
form.js: code refactoring
 - fix event_handler(): use 'fields.fetch_all()' instead of 'fields.a'
 - fix css classes if they are provided in Form_Display_Errors()