Add padding before passing to Python base64.

See src/freenet/support/Base64.java
Use built-in base64 alphabet substitution.

This function supports an altchars argument which are used as
substitutes for + and /. See
http://docs.python.org/2/library/base64.html
Merge pull request #1 from Thynix/base64

Base64 Decode Improvements