Redistribute fixes

Merged Matthieu Schaller requested to merge redistribute_fixes into master

Fixes #130 (closed) and makes engine_split() work for gparts.

That lead to some issues in common_io.c but the master works if you don't run with -g. (And -g does not work beyond one time-step anyway as we don't have the MPI communications for gparts yet.)

Merge request reports