@Value for ModuleOptions

Move MOMResolver as a spring component

Apply logic from https://github.com/spring-projects/spring-xd/pull/486
XD-1189 Fix rabbit sink

- Set RabbitTemplate's connectionFactory to use
  module's connectionFactory