More refactoring of couch_mrview, to aid my understanding.
adding nested views... a completely untested work in progress