Add AMD Support

Allow the module to register as an AMD dependency.
Looks good, last thing I'd have you do is run grunt and grunt test to build/test everything.