request #7649: Admin can activate an account when user comes from ldap

By default, users coming from ldap are activated (status = A). This
behaviour is not acceptable in every environments.

Admin may want to validate every users. An option already exists to
define the default status (sys_ldap_default_user_status) but if you
choose 'P', and sys_user_approval is set to 1 (force admin approval)
then no email is sent to the administrator.

The aim of this contribution is to send an email to admin like it is
done on the regular account register form.

The modifications forced us to rewrite TokenAuthenticationTest to a rest
test in order to manage restler dependency.

Change-Id: I2468151f56bf2a75e710a8a3440cadb2194a8965
Merge commit 'refs/changes/96/3296/10' of ssh://gerrit.tuleap.net:29418/tuleap into tuleap-stable-master

* ssh://gerrit.tuleap.net:29418/tuleap:
  request #7649: Admin can activate an account when user comes from ldap

Change-Id: Ic42151d318ca5e5cf341b0ec26fc4ec475ce7346
This is Tuleap 7.7.99.48

Change-Id: I52394183085b0676b627766974174a5dc18a9761