MDL-45641 event: Option to trigger user event manually

On some pages full user data is not stored before user_created/
user_updated event is triggred. So giving option to trigger that
manually, so it can be triggred after all data is saved
MDL-45641 event: Manually trigger event where needed.

Some places, user_created_user and user_updated_user
events should be triggred after profile data is saved.
MDL-45641 event: Ldap user_signup unit test added