Adds AMD wrapper

This is handy for working with RequireJS setups that use jQuery in noConflict mode.  Without it this plugin continually tries to access the global object. 
Merge pull request #108 from genexp/master

Adds AMD wrapper
Realigned AMD wrapper