Some project management improvements

I add git.mk helper to manage .gitignore and generate ChangeLog based on git log.