Added hg and VCS change support to init

In the future, more VCS could be added.