Fixed CommandGatewayFactoryBean in combination with autowiring

The getObjectType() method must return null when the bean is not
initialized yet, in order to force Spring to initialize it first. When
using custom interfaces, Spring wouldn't properly inject the gateway
instance.

Issue #AXON-257 Fixed