Update and rename .hgignore to .gitignore

Also adding .jar to the ignore list