Integrated submit application agains the new NAS Gateway. Changed UI and integration tests. Added logic to handle errors when submiting an application to NAS Gateway.