Updated select2.js to be compliant with AMD style loaders.  Added a block at the top to look for the 'define' funciton and calls define(), other wise default back to passing in window.jQuery.