C++11 modernizations and warning fixes
Summary: More fixes for Clang warnings. Automatic code updates using clang-tidy
Test Plan: unit tests / dashboard. Already built successfully all plugins and apps
Reviewers: goch, kislinsk
Reviewed By: goch
Maniphest Tasks: T23293
Differential Revision: https://phabricator.mitk.org/D102