Complete refactor of HUPA so as many pieces can be reusable.
Adding the ability to support multiple imap/smtp servers, and autodiscovering of server configuration.
Adding client side caching infra based on localStorage.
Improved performance, and removed repeated calls.
Fixing a lot of issues which makes Hupa almost ready for production environments.
Now client is a separated module which produce a reusable jar artifact.
etc, etc.

git-svn-id: https://svn.apache.org/repos/asf/james/hupa/trunk@1573291 13f79535-47bb-0310-9956-ffa450edef68