Moved i18n routes and helpers after express configuration.
fixed some invalid localization keys
Flash message is removed when user clicks somewhere within the container space.
Added pagetitle directive.