[WFLY-1365] Allow RemoteLoadableExtension to define their dependencies

https://issues.jboss.org/browse/WFLY-1365