[WIP] Feature/api v3 base

https://www.openproject.org/work_packages/8769
@mtakac this change probably shouldn't be here.