[WFLY-3830] Make NamingContext.lookup more portable 

* use the lookup(String) version in NamingContext as some JNDI providers
  expect a specific type of Name (e.g. CompoundName) instead of the
  CompositeName instances we use.

JIRA: https://issues.jboss.org/browse/WFLY-3830