[master][HORNETQ-1357] Load class from priviledged access block

If the security manager is set, resolve the class inside a priviledged
access block

JIRA: https://issues.jboss.org/browse/HORNETQ-1357