open-babel: Add HEAD and tests

Add HEAD option and exclude various patches and install hacks that have been fixed upstream. Also includes improved python detection and some simple tests.
In what situations would each of these `if`s be hit?