Standardized build process

Modified library to be built with grunt. Built files are compiled into the `dist` directory. Files are concatenated, and the compiled output is also minified to a separate file for use in production.