Added non-django way to make a webuser superuser or staff.
Refactored code, also added user permission checking.
Scheduled Reports are set in user/project timezone
Upgrade for calculating time
add UI for Auto GPS Capture, under toggle
add tests enshrining pre-auto-gps behavior
add pollsensor in xforms for auto-gps and warm up
enforce that auto gps feature only added to xform >= 2.14
change auto-gps ref to /data/meta/location

from meta/location
Merge branch 'master' into auto-gps
initial restructuring of CMR and BPR
Finish BPR calcs, plus DRY organization
Merge remote-tracking branch 'origin/master' into opm

Conflicts:
	custom/opm/opm_reports/filters.py
	custom/opm/opm_reports/reports.py
Merge in ESQuery changes from emwf-refactor
Rewrite the get_rows method for CMR and BPR
fix typo
Make ESQuery.size(0) work properly
Merge branch 'opm' of github.com:dimagi/commcare-hq into opm
Merge remote-tracking branch 'origin/master' into opm
Add logic tests structure, remove old tests