Replace explicit loops with CoordRange where possible.
Remove unnecessary namespace qualifications.
In principle framework now supports 3D.
Maps converted to 3D.
Fix build flags.
All (2D) tests pass on 3D maps.
Converted a few 2D tests to operate in trivial 3D.