Update to NexusUI 1.0

Major update of codebase to CommonJS, improved widgets, more complete API.