[duneproject] Fixed quoting issues for directories with spaces.
(cherry picked from commit 5cc7b5b8b7323790806612deacd0836e60635d91)
[Buildsystem] Fixes quoting with spaces inside dune-control (Part I)

With this patch dunecontrol will work even if the path to the module
contains spaces. Unfortunately, the tests for dune modules will still
not work as I could not figure out how to use quoting in the CPP_FLAGS.
(cherry picked from commit eaedbeea186762f98bb36c1c4a49ecd125e30d4c)
[dunecontrol] Now fails when build with spaces in prefix directory.

Treating directories with spaces in autotools is a can of worms.
We now check whether this situation is given and issue an error when
building with autotools.
(cherry picked from commit 7a0dfc7942f750876d25517a66af86639f3b15eb)
[dunecontrol] Removes issues with whitespace in path for CMake toolchain.
(cherry picked from commit 7d3a491d32bee4aa205709f0bcb00e82357da479)