Minor fixes

Email update working now, also fixed rule to prevent disabling master
account.  Removed some extraneous css/js files.
Authorization bug

Fixed checkActionPermissionSelf to deal with missing optional parameters