Updated Xbaya to enable execution of single application through thrift api

The related JIRA issue can be found here: https://issues.apache.org/jira/browse/AIRAVATA-1389