Add grunt task, license, gitignore to the project.

Add jshint and grunt to check for potential code issues and help to keep code clean.
Also probably a good idea would be to put code files under `src` folder.