16971 work package forms endpoint

[``* `#16971` Work package forms endpoint for API V3``](https://community.openproject.org/work_packages/16971)
I consider the handling of the resources (to which attribute those are assigned) to be WorkPackage-specific. But we can first try to generalize it.