Added build option to wrap in UMD declaration. issue #34

Now resists polluting the global scope if loaded with requirejs. Unchanged behavior for regular browser loading.