CDK-177: Updating View#contains methods.

The contains(PartitionKey) method has been replaced by contains(Object)
because partition keys are going to be deprecated and SPI-only.