Make document analysis problems first class entities
Rename document.analysis_warnings to _problems
Do manual pagination to work around sqlalchemy issue.

We need to count actual documents returned, not just
the number of rows.
Allow a user to click on a problem name to refine to it.
Merge branch 'drill-problems'