Discovery API implementation

Added Discovery API support:

 - Extracted SDK 'Core' as a separate module/jar.
 - Extracted mail-calendar-contacts classes as separate module/jar dependent on 'Core'.
 - Added Discovery module/jar dependent on 'Core'.
Discovery module is based on code generation.