This change consists of some minor refactoring of
keyboard-shortcut-behavior.html to allow for its use in elements that
have the behavior. Also fixes some incorrect bower paths that resulted
in flaky and/or failing tests.
Bug: Issue 5109, Issue 6217
Change-Id: I3a73036b2e34372fe1bf4de836e11bb88b1d0e5f