Merge pull request #75 from dimagi/cleanup

delete unused view
hit couch many fewer times during tokenized ota restore
delete unused variables
fix tests
Merge branch 'fix-tests' into refactor
Merge pull request #76 from dimagi/sync-optimizations

hit couch many fewer times during tokenized ota restore
Merge pull request #50 from dimagi/fix-tests

fix tests
reduce couch queries by prefetching relevant cases during restore
Merge branch 'master' of github.com:dimagi/couchforms into refactor
couchdbkit is such an asshole
remove unused argument / bad practice of doing work in __init__
explain assholeish ways
Merge pull request #78 from dimagi/couchdbkit-ahole

couchdbkit is such an asshole
add db cache test and fix bugs that were revealed
delete unused function
Merge pull request #77 from dimagi/sync-optimizations

reduce couch queries by prefetching relevant cases during restore
more coherent comment
Merge pull request #49 from dimagi/refactor

Refactor
Merge pull request #7 from dimagi/refactor

refactor to use class-based model
add new related cases view for case details page

adds a hierarchical related cases view for the case details page.  This
is also used as the PACT Care Plan report (Case:60880).

For the care plan report, it's integrated with inline touchforms so
subcases can be added and edited at all levels from within this page.

The columns to display are configurable using the same declarative
definition format as the case details view, and the sorting of cases is
also declaratively configurable.

beginnings of configurable hierarchical related cases display