travis CI: install locale
testing: cleanup python and stdeb detection logic