Fixed profiler output for parallel runs

sum and maximum value need to be computed on _every_
process and may then be output only on rank 0.
[profiler] Compute max of timings instead of sum
[cmake] removes empty lib/CmakeLists.txt
Merge branch 'master' into threading

Conflicts:
	dune/stuff/common/profiler.cc