Fixed some non-critical PHP errors and strict warnings in com_shldap