gitIgnore method and refactoring.

1. gitIgnore.
2. Refactoring: grunt and chalk usage.
3. Remove lodash dependency.