Adds multiple new methods to global.Number

Adds .isNan, .isSafeInteger, .parseInt, .parseFloat as well as a test file.

Also adds global.NaN which was missing.