Move handler setup: cmd/apiserver -> pkg/master

Moved CORS handler setup and authorizer setup.
Will allow for integration test of authorization.