The Mousetrap object is only added to the global scope if a "define" function isn't present. Otherwise, it will call this function to define Mousetrap as an AMD module. Everything else remains unchanged.
Updated mousetrap.js to handle AMD module loading
Added AMD module support
Will this AMD support work with requirejs?
Add AMD support. Closes #26. Closes #46.