Improved multi-language support.

A filter added (application_languages) that allows for application
specific language declaration. This filter allows for database driven
languages declaration.