Add in UI-Router events / Fix purgeHotkeys

Ignore first commit.

2nd Commit fixes ```purgHotkeys```

3rd Commit adds ui-router compatibility (partially)