added xcuserdata to .gitignore
adjusting the API so there is no symbol conflict, and is more consistent wrt public/private key naming.
Fix warnings introduced by the clang compiler shipped with Xcode 4.6.