Changed class Gateway from Java to Ceylon. Stuff that can't be handled
in Ceylon yet is in class GatewayCaller.