[BUGFIX] Flyout traversing broken in IE

* Fixes regex and adds unit tests for previously broken function getTargetSelector()

Fixes #17