Topic/barnes hut fix

A data race where bodies where concurrently read and modified in the
`updatePosition` method should now be eliminated.

Also tweaked `.gitignore` and fixed the build file so that we can
use the `bench` task.