Updated to work in IE8 + 9, when polyfilled.

Changes required:
 - bubbled click events have to bind to the body, not window
 - use attachEvent when addEventLister is not defined
 - event object can be different (e.srcElement, e.which, preventing default).
 - el.location is different
Use `history.location` before `document.location`.

Changes from @devote. We need to look at `history.location` when it exists (for polyfilled browsers, as `document.location` will included a hash.
merge
Merge pull request #1 from lauramelos/ie-support-clean

Ie support clean