Update planner tool to set both partitioning param index and partitionin...

...g param value,

regardless of whether statement has been compiled to a parameterized plan.

Add the tests which caught this bug.
Going the ad hoc route (to leverage existing validateTableOfLongs code) makes these one-liners redundant.
(end of review comments)