Minor code tidyup + docs

* Add docstrings for the save methods
* Evolved PEP8: minor code reformatting
* lib.document: mark some save methods internal-only
filehandling: RecentManager fixes

Construct and publish a proper RecentEntry now, with correct MIME types and
everything.