added universal module declaration style

Now the library works in requireJS and node.js without poluting the
global scope
added grunt build script
ran jshinting on src. fixed some inconsistencies
fixed grunt build process
added banner to minified
Merge pull request #12 from wellcaffeinated/master

Added gruntfile build process and universal module declaration pattern