Add partition list in query plan

Added a getPartitions method in driver query plan that returns map of table names to partition list.