Merge pull request #88 from tgtshanika/master

Application deletion failure in tenant mode issue fix
 logout option provided in the page that comes when some user who does not have publsiher role login to publisher
adding fix to log out handling properly
Refactoring app manager front end app
Applying Lahitu's patch for APPM-261.
Merge branch 'lahiru823-master'