Added deletion logging table sql and patch
Modified delete function to add delete entry
Replaced call to escape to xoopsDB->escape
replaced escape function call
Fix for database update check.
For deletion logging, add time and GET and POST state information.
Merge branch 'deletion_logging'