Use proper UMD-wrapper

Updated the UMD to use the proper UMD-Wrapper.
Passing window as root, doesn't add flexibility. The same with window.define.

Passing in this as root, enables the root element to change - default browser behaviour is window.

See more for inspiration:
https://github.com/umdjs/umd/blob/master/amdWeb.js
Add define to globals list.
Reflect same UMD change in jQuery plugin.
Add #96 Use proper UMD-wrapper