Fixes for gettext-related stuff and various cleanups

Here are fixes for gettext-related stuff. Module is fully translatable now and translations are properly handled by autotools.