Moved 'update user' logic to the lib - groundwork for update-user and reset-password api calls
Merge branch 'master' into user-api-commands
#84 - reset_password API endpoint, catouser lib tweaked to accomodate.
Fixes #130 - Force Change checkbox now accurate.
API - no longer shows a generic message on errors, rather the error code/detail.
My Account dialog works using new methodology.

Tweaked the common "security log" functions - in some unique cases a
log wouldn't get written.
merge from master