Standardized build process

Modified library to be built with grunt. Built files are compiled into the `dist` directory. Files are concatenated in no specific order - which shouldn't be a problem - and the compiled output is also minified to a separate file for use in production.