build: Add check for python-config.

To compile python bindings both swig
and python-devel packages are needed.

Add check for python-config.

Now the bindings could be compiled
for different python versions by:

./configure --PYTHON_CONFIG=python-config-2.7

However the path for python binary is
not yet adjusted for the tests and demos.