[wip] Implement a Ruby API for plugins to extend REST API

https://www.openproject.org/work_packages/14006