Adding SIP validation helper function
No longer including client/account data

Prune client/account data from json encoded list of phone number
countries to alleviate uneccesary 'recursion detected' JSON encode
error in the logs.
Fixing notice about phone number status
Fixing various notices and warnings
Cleaning up code around password resetting