Add UMD loader for use with RequireJS

Change the loader to use the UMD jquery plugin pattern so that this
plugin can easily be used with RequireJS and other AMD systems, as well
as with traditional <script> tag loading or script concatenation.
Merge pull request #1 from fidothe/add-umd-loader

Add UMD loader for use with RequireJS