CDAP-451 Remove gateway related code

https://builds.cask.co/browse/CDAP-DUT74-2
This has to be in sorted order according to @awholegunch