Fixed range based for loops (C++11).
Added unit test for range based for loops.
Merge https://github.com/stefanweiser/sonar-cxx