Add giteditor script
Configure GIT_EDITOR global variable to point to custom script
Change hgeditor not to create multiple tabs -- windows instead