Active mq

take back the format changes by resharper, leave only the changes to work with activeMQ, including amqp version upgrade from 0.9 to 1.0 ; and code changes for activeMQ
Since we added this block to catch some debugging exceptions that don't propogate when a debugger is not attached, it's reasonable to have a comment specifying the explanation.