Refactor teams and project statuses into separate controllers

These changes also move the controllers out of the global namespace
and into the app names space.