Handle if the project user's machine already exists.
Added method for checking if a project is approved.

Could be used for shorter, more readable code elsewhere. We often need to check
if the OU is approved.
Updated the user approval method with update of affs.

Now, we also update the person and user affiliations for when a user should be
approved for a project, including the already handled quarantine. This makes it
easier for the TSD admins to approve users for projects, when that is necessary.
Now also updating group memberships for the GW.

The groups in GW are now populated with accounts only.

Included a bug fix in what project the group was affiliated with, as it was
unstable.
CRB-246: Bugfix, don't update members when removing group.
Forgot to remove PENDING aff from account when approving
Merge pull request #35 in CRB/cerebrum from CRB-246-tsd-synk-av-grupper-for-gateway to master

* commit '6f69acfa43fc97369308dcdf7bc7bc827f52d0d0':
  CRB-246: Bugfix, don't update members when removing group.
  Now also updating group memberships for the GW.
Merge pull request #33 in CRB/cerebrum from CRB-334-godkjenning to master

* commit '1af576719164f6d6edfed34be50bce4f23179e9e':
  Forgot to remove PENDING aff from account when approving
  Updated the user approval method with update of affs.
  Added method for checking if a project is approved.
  Handle if the project user's machine already exists.
CRB-70: Could not reproduce. Lowered logging-level for future errors.
Merge pull request #48 in CRB/cerebrum from CRB-70-uia-matchet-for-mange to master

* commit 'df3b2287756eb15ad9932a4c9da41bcaad4f7b6f':
  CRB-70: Could not reproduce. Lowered logging-level for future errors.