python-3 fixes

These should fix recent regressions reported when using python-3.
Both 2.7.4 and 3.4 pass the highlevel_test on my setup.

- automatically handle boost_python library name on fedora
- automatically handle python version in test_highlevel Condition.wait()
- misc. cleanup
- Variant workaround for python-3