A few fixes for issues found in testing of recent changes
Convert userconfigs to module from extension

Module was not accessible by non-admin users, and there is currently no way to assign the needed access rights for extensions.
Add caller info to deprecated message
Add transaction to add and update. Fix pass by ref error.
Fix incorrect grouping of some where clauses.