Work in progress on IMAP documentation.
Update gitignore to prevent Cmake pollution.  configured framework copy phase, install dir and runpath for os x build.