Fix IE9 failures in String#startsWith and String#endsWith.

Skip the tests which require strict mode when running on IE9.

Closes #232.