Rename main module to controller
Make it work as a browserify module via npm

Had to remove the global shim because when gadgets tried
consuming this, even if they injected a global shim for
`VersalPlayerAPI` (which they do), browserify couldn't
find the symbol.
Rename jsx files with jsx extension
Merge pull request #3 from Versal/refactor-modules

Misc refactor