Add install script (install.py) and add json-reformat lib to make json-mode work.
Improve install script.