fix bad couch query
Merge pull request #507 from dimagi/cz

fix bad couch query (Case:64202)
fix bug in trimdata
Merge pull request #508 from dimagi/ugh-fix

fix bug in trimdata
fix cloudcare case list for closed cases with open children (Case:64096)
allow url arguments to specify the date range in orgs charts; use history.js to maintain url state when reloading graphs with ajax
Merge pull request #511 from dimagi/cz

fix cloudcare case list for closed cases with open children (Case:64096)
use datespan decorator; fix bug
Merge pull request #510 from dimagi/charts-url

allow url arguments to specify the date range in orgs charts; use histor...
merge with master