Add AMD support

This pull request adds AMD support using the template supplied by the UMDJS project: https://github.com/umdjs/umd/blob/master/jqueryPlugin.js

This template doesn't changed the existing behaviour for users without an AMD loader on the page. Those who do have an AMD loader, like requirejs, can now use this plugin directly without shimming.