[x] Refactor handler.go so that core logic is testable
[x] Write unit tests against core logic
[x] Unit tests passing
[x] Do E2E test on dev cluster (verified on dev cluster that namespaces received the same labels as profiles and that this worked for both employees and non-employees)
Description
Refactor profile state controller to add the same labels added to the Kubeflow profiles to the corresponding Kubernetes namespaces.
Closes https://github.com/StatCan/daaas/issues/1107
TODO
handler.go
so that core logic is testable