Ticket 47861 - Certain schema files are not replaced during upgrade

Bug Description:  Several schema files have been updated, but the upgrade
                  process does not replace all the schema files.

Fix Description:  Add the updated schema files to the schema upgrade script.

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

Reviewed by: lkrispenz(Thanks!)

(cherry picked from commit fe59338764daf081c1e84684943e3e6acae16483)

Conflicts:
	ldap/admin/src/scripts/60upgradeschemafiles.pl

(cherry picked from commit ba604880431bc610c5dff92356b7c897d495f0a6)
Ticket #47863 - New defects found in 389-ds-base-1.2.11

Description:
* Compiler Warnings
1-11. Defect type: COMPILER_WARNING
      389-ds-base-1.2.11.15/ldap/servers/slapd/libglobs.c
	  Casted to (long long int) to adjust to the format %lld.
	  -           ..., LONG_MAX );
	  +           ..., (long long int)LONG_MAX );
Note: this is a partial backport of ticket #47450 from the master branch.
Trac Ticket #443 - Deleting attribute present in
    nsslapd-allowed-to-delete-attrs returns Operations error

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

Bug Description: Even if setting a config parameter to nsslapd-
allowed-to-delete-attrs, the value failed to delete if the type
was on|off or integer.

Fix Description: Store all the initial config param values in
ConfigList.  If the attribute value is deleted, reset the initial
value.
(cherry picked from commit 90dd9bb3c1411daca353d055d90618e67aa1fa7e)
Ticket #443 - Deleting attribute present in nsslapd-allowed-to-delete-attrs returns Operations error

Description: commit 90dd9bb3c1411daca353d055d90618e67aa1fa7e introduced
an Invalid read/write.  The commit meant to allow "on" and "off" as well
as integer 0 and 1 in on/off type of config parameters.  This patch converts
the integers to "on" or "off" and pass it to config set function.

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

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
(cherry picked from commit c52987d295a9f4a091568d02679765f3a83beb69)
(cherry picked from commit 4266657727fc71afbb6b4f21886ebd86a68b2ed2)
(cherry picked from commit d68dc3235d04caf3736d3587801a3c96cfebccb6)
(cherry picked from commit 84a58b65db55c914a800b0fb31d538bc691c2b13)
Ticket #346 - Fixing memory leaks

Description:
There was a leak in attrlist_replace/attrlist_replace_with_flags
when attr_replace failed to replace the attribute values.

commit 708a56b8d524131362e2d71b7fbc2eb257075e14 for Ticket #47834
tried to fix it, but it was wrong and introduced a double free.
This patch fixes it so that ...
If attr_replace fails and if to be replaced Slapi_Attr is newly
created in attrlist_replace//attrlist_replace_with_flags, the
Slapi_Attr is removed from the attrlist (alist) and Slapi_Attr
is freed.  Otherwise, values and Slapi_Attr are not freed since
Slapi_Attr is just pointing the attribute in the attrlist and
values are consumed in attr_replace.

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

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
(cherry picked from commit c9b914b1610f6c03af4bcae9d311186807220068)
(cherry picked from commit b393c360499d001f0dd08de4d77d27a4e4f3048a)
(cherry picked from commit 3777f9c71bc53595d4d62a500da7a2897d056267)