IE fix for blurring of active element

In IE, activeElement might be null, BODY element, or SVG element. In all
such cases, `blur()` will throw an exception. This swallows the
exception and moves on.

Fixes #316 #370
Merge pull request #374 from defunkt/safe-blur

IE fix for blurring of active element