Adding tool to roll version number for nightly builds.

- added .exe to .gitignore
You really don't want to end up with a negative index, as this will cause a stack corruption if you try to use it.