[WFLY-1995] add property substitution in @Resource annotation and testcase

[WFLY-1995] add property substitution in @Resource annotation and testcase
https://issues.jboss.org/browse/WFLY-1995