Add umd wrapper to build task

This simple PR replaces the basic function wrapper in the build task with a [UMD](https://github.com/umdjs/umd) (universal module definition) wrapper. This new wrapper makes svg.js work perfectly with AMD/require.js, npm/commonjs, and standard global-attach-to-window approaches.

Closes #255