Add filter possibilities to ProblemsView

It would be useful to have methods that return filtered list of errors/warnings.