Adding git and hg ignore files, with option to enable hg, git is default