Converted html.js to TypeScript, additional fixes and refactoring
Added math helper functions from nexuslib-as3
Converted sort.js to TypeScript
Added Color class from nexuslib-as3; updated module indexes
Added Random classes from nexuslib-as3
Converted final classes to TypeScript