Added delegates to rest dispatch and ability to return result type directly from iface methods.

Preceded by: master
Followed by: #586

The gist of this change is explained in the javadoc of [ResourceDelegate](https://github.com/ArcBees/GWTP/pull/585/files#diff-18)

----

Merged all PRs into this one. Will hold until the CI confirms build success.
Why was this block changed? It seems like it's going to return an invalid parameter