Adding api to get latest partition date for cube

Other hive exceptions should thrown