Tanjore Madava Rao, KCSI; Dewan of Travancore