Make global inititalization optomizable by closure compiler

The old way of setting the global broke with closure under advanced optimizations.  This method will work without closure still, but with closure if the user adds a `var pluralize;` to their code, closure can optimize the pluralize code/names in a whole-program fashion.
@blakeembrey typescript just generates the `var ModuleName;` declaration for you when not using AMD, which is the pattern that I've followed.