Cleanup base64 code

* Use `-[NSData base64Encoding]` which exists since iOS 4.0 (but is only documented since the iOS 7 SDK).
* Delete base64-related unit tests