This allows passing bytearray() objects to the base64 encode and decode functions, on both Python 2.7 and 3.4. This also simplifies the code by ignoring 3.2 and 3.3, which are out of scope.
* Merge base64 module * Move base64 into 2and3