[WIP] Feature/api v3 base

https://www.openproject.org/work_packages/8769
@mtakac consider using [json_spec](https://github.com/collectiveidea/json_spec) matchers here.