Fix a NPE on unload if stuff was not loaded. BZ 1115069
Fix an issue where operations with multiple variants were not found. BZ 1115081
Bump version to 1.3.6-rhq
Allow classloader to be passed into EMS advanced properties

Removes an unnecessary cast

Example:

ClassLoader ccl = Thread.currentThread().getContextClassLoader();
Properties p = new Properties();
p.put(JMXConnectorFactory.DEFAULT_CLASS_LOADER, ccl);

ConnectionSettings connectionSettings = new ConnectionSettings();
connectionSettings.setAdvancedProperties(p);
ConnectionFactory connectionFactory = new ConnectionFactory();
ConnectionProvider connectionProvider = connectionFactory.getConnectionProvider(connectionSettings);