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

Related to https://github.com/GoogleCloudPlatform/kubernetes/issues/1128
@lavalamp I'm also use to seeing expected != actual in general.  I'm going to fix the args to be passed in the right order.  If there needs to be a separate discussion about changing all the test cases i think that deserves a separate pull.