Uses Security.framework transforms for base64 handling

Updates the NSString class categories to use Security.framework transforms instead of OpenSSL BIO for base64 handling, merges in changes from master. Hope it's handy for others!