Remove old FIXME.
Simplify tests of the web frontend.
Fix bug when handling deleted documents. Fix bug in HTML harvester. Add 'api' module.

From the it-is-friday-i-ll-make-a-single-commit-for-everything dep't.