Fixes to the gravity code
This fixes #363 (closed). The long-range gravity task has to consider all the cells that were assigned to it at the rebuild time.
Additional improvements:
- Drift the multipoles while activating the tasks,
- Avoid FPEs in the FFT task,
- Adjust the number of tasks per top-level required to run.