Catch more variables errors

Display errors:
* when locale has extra variables
* when a variable is used a different number of times than reference
Merge pull request #187 from flodolo/python_errors

Catch more variables errors