Remove Boost flags.

They do no harm but are no longer needed.
Replace removed SubDomainIndexType by SubDomainIndex.
Add compiler flags and arguments to tests.
Add missing includes to profilerpartitioning test.