MailCore to the core

made MailCore a git/submodule and an Xcode subproject
to facilate building