WFLY-261 - add fallback exception and configurable name parser resolver

AS7 hijacks Contxt.lookup, preventing JDK code from URL magic. As one of side effects, javax.naming.Name is not properly formed, since AS7 relies on CompositeName, which does not properly parse all JNDI names.