Allow resource interfaces to return the result type directly

Preceded by: #585 
Followed by: nothing (for now!)

With this change resources are allowed to return concrete classes, collections or maps representing their result type. The delegate introduced in #585 is required when using this syntax.