Extend .is(:focus) check to activeElement.

If this test has to be used more often, I suggest to use a prototype.

This bugfix is based on various SO threads like
  http://stackoverflow.com/questions/18850219/testing-for-focus-an-angularjs-directive
Merge pull request #55 from prokls/prokls/activeElement

Check focus using document.activeElement