Ticket 49066 - Memory leaks in server
Bug Description: This resolves a number of memory leaks and code cleanups in
the server.
Fix Description: This fixes leaks from server shutdown especially in ldbm
which was not freeing the entry cache correctly.
https://fedorahosted.org/389/ticket/49066
Author: wibrown
Review by: mreynolds (Thanks!)