Added relations for managers to organizations.

Added a check to projects to ensure that they are created for the
organization that the manager belongs to.