Adds GatewayModel endpoint to rest application
Merge branch 'master' of git://github.com/peteonline/PHPLibrary