Add grunt code to generate distribution files

At the same time, upgrade all dependencies and add
license in README