Fixed ldap_sync_user to work with current Affiliation model. Implemented cursory draft of UCD account generation process.