(#1820) - add docs for persisted mapreduce

This includes updated documentation for db.query(),
plus new documentation for two new API methods:
db.putView(), and db.viewCleanup().