Added support for commonjs, AMD and browser globals using UMD pattern

I like moment-duration-format and use it in two web apps one use browserify and commonjs the other use AMD and requirejs. So I created this fork to be able to support both of them.