[test.products] get per-dim number of gridlements via config

requires dune-stuff udpate
[df] ConstDiscreteFunctions keep a space per thread now
PerThreadValue has moved headers