Bugfix: xhrForm.clearErrors() did not clear error messages properly; new
method getErrors() for retrieving errors added; strict mode is now
enforced

Change-Id: I2cf25630f37e27b8ee1a8a2840c9833e83c37661