Refactoring into lib
Updating grunt to ~0.4.0
Merge pull request #2 from jrcryer/master

Moving task registry and lib into separate files. Bumping devDependency to ~0.4.0.