i18n: Slight optimization for gettext

Use a PHP source file for the translation hash table rather than a
serialized version of the array. This will allow a PHP object cache such as
APC to cache the file and remove the overhead of parsing and unserializing
on each request.