WFLY-1727: resource injection support for external contexts
Merge pull request #5205 from emmartins/WFLY-1727

WFLY-1727: resource injection support for external contexts