Blob: implement the memory buffer interface

This allows us to expose access to the blob's data without the need to
copy it into new buffer.
Drop official support for Python 2.6