small cleanups and fixes

- fixed some warnings on gcc
- added parenthesis to fix a if with no body when LOG() is not defined
- added gitignore to avoid accidentally commit vstsdk