CORE: Fixed type of returned exception for LoA

- When member is checked for possible extension and fails,
  we must return INSUFFICIENTLOAFOREXTENSION type of exception,
  so GUI will perform redirect.

  There originally was INSUFFICIENTLOA which is case only when user
  is not yet member of VO.

- Added javadoc for methods canBeMemberInternal(), manageMembershipExpiration().
CORE: Do not allow members with insufficient loa

- When creating member, check if he/she can be member by loa
  and vo membership expiration rules.

  If not - throw an exception which will rollback creation.

- Fixed test for membership extension, which must assert against
  INSUFFICIENTLOAFOREXTENSION.

- Skip creation of member on synchronization of group when
  we can't properly set membership expiration based on VO's rules.
VOOT: fixed project structure and tests

- Fixed location of resources folder to respect maven structure.
- Added resources definition to pom.xml.
- Tests now can throw ExtendMembershipException.
Merge pull request #584 from zlamalp/loa

CORE: Fixed type of returned exception for LoA