Merge remote branch 'origin/develop' into qa
Fixing SQL bug in queue record
Fixing bug in interview class
Merge remote branch 'origin/qa' into release

Conflicts:
	api/ui/widget/operator_assignment.class.php
Making queues more generic to allow region or jurisdiction-based grouping
Fixing bug in prerecruit select widget

The widget wasn't handling the jurisdiction grouping.
Queue tree wasn't being displayed in the correct order
Tweaking role operation access (languages)

The last update didn't quite get the language operation permissions
correct.
Adding site as a token attribute
Tweaking code
Moving valid appointment dates forward by one day

This is to avoid appointments not coming up because of participants
not yet being ready for their qnaire (due to the time it was completed).
Fixing bug from last commit
Tweaking code
Fixing bug in call attempts report (where participant has no site)
Merge remote branch 'origin/release' into develop

Conflicts:
	api/ui/widget/operator_assignment.class.php