Ticket 47598 - Convert ldbm_back_seq code to be transaction aware
Description: Attempt to retrieve the transaction, and pass it to the db
functions, and id2entry. Also did a little code cleanup.
https://fedorahosted.org/389/ticket/47598
Reviewed by: richm(Thanks!)