CORE, RPC: updated mail validation process

- Added method getPendingPreferredEmailChanges() which
  returns list of email addresses awaiting validation in
  order to display notice in GUI for users.
- Updated Javadoc