Centralized error handling + thorough error testing

Unified docstring format across modules error.py, gnupgpyui3.py,
user_profile.py