Ticket 47872 - Filter AND with only one clause should be optimized

Bug Description:  If the filter id of the form "(&(attr=value))" it is not detected
			that the filtertest can by bypassed like in "(attr=value)"

Fix Description:   Check if an AND filter has only one component and this component is not
			another complex filter. To make this work, the check if the filter
			attribute is a subtyp also had to be applied earlier

https://fedorahosted.org/389/ticket/47872

Reviewed by: RichM, thanks
(cherry picked from commit 29316b10f02e7cf7b01fe01f9b82b2088453221b)
Ticket #47874 - Performance degradation with scope ONE after some load

Bug Description: Backend has a bit to indicate "should not bypass
the filter test".  It's set if one of the search results is ALLID
in idl_intersection.  Once the flag is set, it's never been unset.
It makes the following one level searches slow down.

Fix Description: Introduced slapi_be_unset_flag and unset the bit
at the end of every search.

https://fedorahosted.org/389/ticket/47874

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)

(cherry picked from commit 8e1345ab9276d1cf9c9ac2cbd858c398235ef5ce)
Ticket 47446 - logconv.pl memory continually grows

Bug Description:  Running logconv.pl without any special options
                  continually consumes more memory.

Fix Description:  The last fix introduced the use of regex matches which
                  caused the value of $1 to become undefined.  When using
                  all of the logconv cmd line switches, many undefined
                  variable warnings were printed.  This fix saves the value
                  of $1 in a local variable so that it it not undefined by
                  the use of subsequent regex matches.

https://fedorahosted.org/389/ticket/47446

Reviewed by: mreynolds (Thanks!)

(cherry picked from commit c4f396db2484362ecb7a1c54458ad794b8d5c506)
Ticket #47875 - dirsrv not running with old openldap

Description: AC_SUBST(ldap_lib_ldif) was missing from configure.ac
for @ldap_lib_dir@.

https://fedorahosted.org/389/ticket/47875

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
(cherry picked from commit 0ae55bcd61497c2fa7aaade40fe4ff6c91216325)
Ticket #47875 - dirsrv not running with old openldap

Description: ran autogen.sh
Revert "Ticket #47875 - dirsrv not running with old openldap"

This reverts commit 5995ff014d92da027f4ee925aefc6d7249a169bc.
Revert "Ticket #47875 - dirsrv not running with old openldap"

This reverts commit 1bb438916825d72df023ca5f67fa7d8b7e6e36e3.
Ticket #47875 - dirsrv not running with old openldap

Description: Changing the function of AC_CHECK_LIB from ldif_open
to _init so that regardless of the contents of the library, it's
linked to the server if it exists.

https://fedorahosted.org/389/ticket/47875

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
(cherry picked from commit 38c74d224c250abd907636f7d78e95775ebf63dd)
Ticket #47875 - dirsrv not running with old openldap

Description: Automatically generated files by autogen.sh.