Add wrapper to use AMD or browser globals to load plugin (plus tests)

I added a wrapper based on [UMD](https://github.com/umdjs/umd/blob/master/amdWeb.js) to make the plugin support AMD/RequireJS, and I created a separate AMD test suite. All tests pass. I did not bother, in light of #33, to create tests with ko.mapping.