HORNETQ-1202 Fix crash on concurrent modifications. Notice that just making 'matches' a ConcurrentHashMap does not solve it.
https://bugzilla.redhat.com/show_bug.cgi?id=964129

We could have a race between the state of matches and the cache:
Thread1: addMatch(): i. clean cache; ii. add match to Map
Thread2: could add an (outdated) entry to the cache between 'i. clean cache' and
'ii. add match to Map'.
Merge pull request #1082 from FranciscoBorges/2.3.x

HORNETQ-1202 Fix crash on concurrent modifications. Notice that just making 'matches' a ConcurrentHashMap does not solve it. https://bugzilla.redhat.com/show_bug.cgi?id=964129