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

Related to https://github.com/GoogleCloudPlatform/kubernetes/issues/1128
@jwforres yeah, sorry about that. Completely forgot that it matches the content-type value too.