Update adapter to be compatible with preCICE v2 API
The current adapter only works with the old preCICE v1 API (preCICE up to version 1.6.1). The v2 API has been published in March 2020. We should update our adapter to that version soon.
This is currently worked on in !7 (merged).