Initial draft for a Gruntfile

Follow-up from #7 

I removed some of the obsolete parts. The `requirejs` and `uglify` tasks still need some work, as discussed before.