optimize keyboard focus management on dashboard's modals

add license to a11y_tools.js

add tests, some reorganization of js tests

skip "toBeFocused" tests for now
Merge pull request #1401 from edx/adam/a11y-modal-management

optimize keyboard focus management on dashboard's modals