rename .hgignore to .gitignore
some fixes (WARs) to get it to build in a git repository