add tests for applications brief view

(incompatibility with couchdbkit upgrade)
fix ApplicationBase.view (couchdbkit upgrade)
Merge pull request #1092 from dimagi/applications-brief-fix

Applications brief fix