Some Gruntfile fixes

Some fixes to make jshint actually check files under extensions and components folder. as discussed in #6

And some requirejs config as pointed by @addyosmani in #14
With this, hopefully we can have some basic optimization for `dist' files. I think I also want to concatenate extensions and components files together, but the work would be a bit messy, so I'll leave it at this for now.