Tweaks to standard library

A bunch of tweaks to standard library, including:

- A basic implementation of List
- Implementation for Math.acos, Math.asin, Math.atan, Math.atan2,
Math.pow, Math.tan
- Fix for Math.NaN. Now returns actual NaN, not positive infinity.