WFLY-3623 fix + testcase

Spurious ":" in @Resource annotation 'name' value results in invalid binding but no deployment error

Upstream + 8.x: https://issues.jboss.org/browse/WFLY-3623