Fixes for compatibility with a multiarch-enabled Python, like Python 3.3 on Debian & Ubuntu. Also integration tests and fixes to distribute integration.