Hardening/lint

### Using modified script for 'TID google lint'
Made the make step 'lint_all' work, and removed a few things from the checks (things that makes it very difficult for ME to read my own code):
- braces at end-of-line
- else on the same line as '}'
- Changed max number of chars per line from 100/80 to 150/120
- C++ style casting, that didn't pass the compiler

The library lib/common is 100% compliant to this "improved" TID style guide (except compileInfo.h that is a file produced by the makefile).