Updated submodule m2g.
Added file .gitignore.