Default ObjectNameFunc for all REST Stores
Default ObjectNameFunc for all REST Stores

All Stores in Kubernetes follow the same logic for determining the name
of an object.  This change makes it so that CompleteWithOptions defaults
the ObjectNameFunc if it is not specified.  Thus a user does not need to
remember to use ObjectMeta.Name.  Using the wrong field as the name can
lead to an object which has a name that bypasses normal object name
validation.

Signed-off-by: Monis Khan <mkhan@redhat.com>

Kubernetes-commit: ed35deb69d6fe480adc9178c30b4b9c9e03ca1a9

kubernetes/kube-aggregator,kubernetes/kube-aggregator,caesarxuchao/kube-aggregator,caesarxuchao/kube-aggregator,caesarxuchao/kube-aggregator