[Form] Changed Form::getErrors() to return an iterator and added two optional parameters $deep and $flatten