Updated according to templates update
Removed double code
Fixed build scripts
Some updates
Implemented translation support in compiler
Added support of transtext(gettext) to templates system
Inital gettext support
Implemented threadsafe gettext interface
Added missed file to commit 225