Added AMD Support using a UMD pattern
Updated formatting and AMD unit test
Merge pull request #52 from jeffrose/master

Added AMD Support using a UMD pattern. Thanks @jeffrose!