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.
heh

Actually I think this toUint32 is not needed since >>> and & both do toUint32 already. It is observable though (if there is a valueOf as usual).