Add AMD module support.
Merge pull request #28 from SparkSoftware/master

Adds AMD Support for use with RequireJS