register in all available module systems

We (@caridy, @ericf, @juandopazo, @drewfish and a few others) had a discussion
and thought it might be valuable to register the module in all available
module systems (CommonJS, AMD, and polyfilling the global).
Merge pull request #28 from drewfish/reg-all

register in all available module systems