Fixed some undefined notices in com_shldap
Registered several individual Jlegacy classes
Due to reference change in getUser, fixed an invalid reference pass
Pass the adapter to the getUser method to assign auth type and domain in ldap cron