Added string basics. Implemented array methods using more abstract functional primitives.
Moved polyfills and extras for functions and arrays into modules named core.