updating debugdatabase view fix for cdbit 6.0+
Merge pull request #151 from dimagi/debug_database_fix_60

Debug database fix for couchdbkit 0.6.x