Merge pull request #922 from clebertsuconic/Branch_2_2_AS7

another test fix avoiding NPE on queue
https://issues.jboss.org/browse/HORNETQ-1159 Making sure the server can survive duplicated queues and avoiding duplicated queues and Queue optimization backport from https://issues.jboss.org/browse/HORNETQ-1137 where we avoid a lock while delivering to the clients