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.
Like I said. These tests are mostly just making sure things do not have syntax errors in them. The original code is already tested.