Using late static bindings for determining the locale directory location

This is a better fix that I once started in #89.
It was inspired by @slusarz's [comment](https://github.com/horde/horde/pull/89#issuecomment-51112517).

The failing tests doesn't seems to be related to the changes, but to MySQL.