hook git-commit-id-plugin to phase generate-resources. 

added git.properties to .gitignore accordingly.

Change-Id: Id53d196953ee1353acc12ebef875c5c1a6643922