Add option to enable a simple CORS implementation for the api server

Related to https://github.com/GoogleCloudPlatform/kubernetes/issues/1128
What I'm saying is Nginx doesn't look like a good option overall, really. Kubernetes desperately needs a proper authentication.