genbinding python detection

if PYTHON_BIN is not set, the default value used is /usr/bin
I've added an intermediate step and if PYTHON_BIN is not set, it tries to find python2.7 via "which" and it that fails it defaults to /usr/bin

Issue: http://www.cocos2d-x.org/issues/3732