Reorganize files to improve portability

* Added checks on environment (available commands)
* Reorganized Python code
* Count 'msgids' from msgattrib instead of parsing 'msgfmt --statistics"
Merge pull request #1 from flodolo/improve_portability

Reorganize files to improve portability