Adding CPack packaging support
Merging master into ios