added the status to the planning-elements-api

missing features of [Task 2418](https://www.openproject.org/issues/2418)