allow explicilty passing a couch_db refrerence to pillows

this is going to be used by user configurable reports