Update to a proper combo python & c++ gitignore

Note: i removed the *~ line as it should really exist at the level of the global gitignore not the project gitignore