Update .gitignore
Add gcc warnings, disable them in system headers (except gengetopt), and mostly fix in project