Refactor ExchangeService, etc.

* Use newly created emailsync lib for sync logic
* Fix a few little bugs & do a bit of cleanup
* Repair all warnings

Change-Id: Id992d89a9a1360e845fa97b84939d96780efd0eb
23 files changed