Add universal module definition

This allows nativesortable to be used with CommonJS-like module systems (e.g. Browserify), RequireJS, and included as a script tag.