PhotoSwipe now works in IE8 without jQuery.

- Fixed a few IE8 specific glitches.
- Helper functions are in src/ie8compat.js.
Merge pull request #8 from rayburgemeestre/master

PhotoSwipe now works in IE8 without jQuery.