Add SelectToTarget for appending results directly to a slice pointer.
Merge branch 'query-plans'