Direct access to accounting, improvements in delete

-Ability to directly access accounting records
-Ability to save accounting cache
-Fix case when using ldap cache and trying to delete, now a dummy value
is set to an attribute to ensure the deletion in the real LDAP will not
fail
-various minor changes and options