Add Math polyfill

This implements the new ES6 Math functions.

The implementation is based on V8 and MDN as well as the spec.

The tests are mostly just smoke tests. I'm not testing a lot of
edge cases.
The V8 implementation is hundreds lines of code. Instead I looked at what other people do... I can change to use the V8 code instead.