Added AMD Support using a UMD pattern

Applied a variation of the [commonjsStrictGlobal](/umdjs/umd/blob/master/commonjsStrictGlobal.js) [UMD](/umdjs/umd) pattern to add [AMD](/amdjs/amdjs-api/wiki/AMD) support while retaining CommonJS and browser global support. Also added an AMD test file and bumped the version based on the version in `package.json`.