Used backported Base64 implementation, and enhanced speed in escape() method.

Backported Base64 implementation replaces Froyo's stock one like a glove.
I have yet to test it in production, but it's coming soon.
The pull is a bit big but I made numerous changes to make the escape() method 20-30% faster by reusing the same StringBuilder.