Application deletion failure in tenant mode issue fix

Provide fix for https://wso2.org/jira/browse/APPM-257. 
(In tenant mode, the username which was read from session objects returns username value without the domain name. In the fix, the username is extracted from the jagg.getUser() method.)