Add parameter to specify locale

This allow specifing a parameter to choose Thunderbird locale.
It also works around rubygem trouble and old dependencies to allow travis build to succeed.