Fixed js module index to generate depth-first
Converted string helper functions to TS
Converted get() to TS
Converted cookie manipulation functions to proper TS class
Moved error and event to properly-named classes
Moved methods out of core.js into ObjectUtils and DOM
Added JSON serializers taken from nexuslib-as3
Fixed some imports and added additional type declarations