Use iOS 7 base64 methods and fix memory leaks

Methods defined in NSData+Base64.m leak memory. This can be seen using the analyzer (Product->Analyze). This pull request removes all the code and replaces it with new iOS 7 methods for base64 encoding/decoding.