added support for multiple gateways configured in the API Manager admin settings
fixed some bugs found during live testing
added support for multiple gateways in services and application api registry UIs