SWITCHYARD-1500 add lifecycle support to gateways

https://issues.jboss.org/browse/SWITCHYARD-1500