Added support for AMD, CommonJS strict.

Based on [UMD example](https://github.com/umdjs/umd/blob/master/commonjsStrictGlobal.js).
Added define-and-pollute approach
Merge pull request #141 from pluma/master

Added support for AMD, CommonJS strict (fixes #116, #136)