TEZ-397. Add support for getting status of a tez session. (hitesh)