AST-850 Use C++17
Updating schaapcommon caused some unrelated compilation errors that are also fixed in this commit.
The Docker file has been splitted in mupltiple RUN steps; this eases testing.
Bumped the aoflagger, IDG, and Everybeam versions to the version using C++17.