Allow fully qualified classnames for gateway type

This enables support for fully qualified classnames as gateways, just like it's already supported by the DependencyInjectionExtension.
Merge pull request #9 from CHH/patch-1

Allow fully qualified classnames for gateway type