Fix typos
Store response and application (default) locale in the "locale" property of the respective locals objects.
Attach gettext instance on application's settings to avoid some unnecessary closures
Switch methods from request object to response object and make method names uniform
Store locale in normalized form and always lookup translation using uniform locale key transformation
Improved checks for null
Merge pull request #2 from auchenberg/globals-fix

Globals fix