CAS-1310: Complex attributes are not properly returned by the OAuth /profile url

First commit
Merge remote-tracking branch 'upstream/master' into CAS-1310
CAS-1310: Complex attributes are not properly returned by the OAuth /profile url

Update source according to Misagh's feedback
Merge pull request #261 from leleuj/CAS-1310

CAS-1310: Complex attributes are not properly returned by the OAuth /pro...