Updates for IE9 compatibility.

* Updated test suite to use expect instead of should.
* Use ["catch"] instead of .catch for ES3 compatibility.
Merge pull request #11 from jussi-kalliokoski/ie9-support

Updates for IE9 compatibility.