GATEWAY-3312: Fixed thread safety issues due to non-unique message ids during PD fanout.  Synchronized Spring Proxy Factory with object lock.
GATEWAY-3312: Added missing unit test.
Merge pull request #329 from akong/gateway-3312

Gateway 3312 - Fixed PD fanout