Use the proper ElementTree syntax to find all nodes at once
Inline the substitute_templates() function

This avoid multiple ElementTree loading of the Glade file
Fix some comments
Add catalog handling to gladerunner.py

With this new feature, LibreOffice UI files are now displayable if the relevant
catalog is provided on the command line!