Add `String.prototype.codePointAt` polyfill

The polyfill and tests were taken from <http://mths.be/codepointat>.

Closes #368.