add query scopes to message handler

fixes: PLAT-649

test-plan
*specs should pass

Change-Id: I1902a1e5ad516ee544d1981b2ba56b35cce45691
Reviewed-on: https://gerrit.instructure.com/41262
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
QA-Review: Nathan Mills <nathanm@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>