CDK-347. Implement DatasetTarget#handleExisting and WriteMode support.

I'm not sure we want to expose this. With Joey's work to add types to datasets, I thought we'd get rid of the type passing and do all of this internally.