Add .gitignore
Fix reporting of build info.

- fix creation of rev_num.h , now it includes info about current git branch
- fix displaying of build info, display even wneh no input file is given
Fix wrong include and DBG indent.