Made some changes due to fxcop and fixed minor issues.
- Remove all subscriptions from the topic on dispose
- Call dispose the MessagingFactory on dispose.