Add component/component support

Wrapped all js files with UMD, and added files to enable component/component dependency loading support.