add observable #hasErrors and #hasWarnings properties