update gruntfile for building to coffeescript

This adds to the Gruntfile the ability to build the full source as CoffeeScript, for environments that are able to execute CoffeeScript directly. Makes it easier to debug Rivets errors in these environments.