wrap role override cache register checks in localcache
wrap role override cache register checks in localcache

to reduce heat on redis nodes for high traffic accounts
hold onto the permission data for 5 minutes

closes #LS-1299

Change-Id: I5c13b7c5df00e2f14a1b8c10d480b5f5f4233db7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/244621
Reviewed-by: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
QA-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
Product-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
Tested-by: Service Cloud Jenkins <9144042a601061f88f1e1d7a1753ea3e2972119d@instructure.com>

sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms