Do more work on the Boost.Python bindings.

Also use C++11 from now on.