make use of case query methods
replace hqcase/all_cases and hqcase/open_cases view with case/all_cases
check keys is None exlicitly
move case status constants to casexml app
move hqcase query to hqcase app
add auth context to every form

this leaves a record of what kind of auth was used for the form
currently just in the auditing phases
test ?authtype=digest is same as default
New wisepill entry point
Merge branch 'master' into authcontext
dynamic reports PoC
Make summing the default option
Add ability to manipulate integer property

Can pass a lambda to be called on the integer property result
Rename lambda variable and add comments
refactor DatabaseColumn
bump ctable version
Merge pull request #779 from dimagi/integer_calc_blocks

Add ability to manipulate integer property
fix SubmitHistory bug about screwy user_ids in xforms
Merge pull request #781 from dimagi/sqlcol

refactor DatabaseColumn
Merge pull request #783 from dimagi/shist

fix SubmitHistory bug about screwy user_ids in xforms
update vellum