Move some translatable strings to templates.
Reposition source text bug reporting icon.

Fixes bug 2211.
CSS is now under /pootle/static/css/.
Cleanup and organize imports.
Added `path` property for directories.

This new property returns just the path part omitting both language and
project codes.
Implemented overview mode for files.

This makes the behaviour of the overview page consistent, since now both
directories and files are displayed in this mode.

Fixes bug 2228.
Merge branch 'bug2228'
Template tag's module name is `locale`, not `locale_dir`.
Display name and gravatar of logged in user.

Fixes bug 2333.
Organize and cleanup code and imports.
Refactor `pootle_profile` and move forms out of the views.

This needed a small change in the `django-profiles` app for accepting
extra arguments passed to the `form_class` in
`profiles.views.edit_profile`.
Redirect to the previous page when logging in.

Fixes bug 2332.
Fix docstring.
Rather use Django's `urlencode` as it's safe on unicode-encoded strings.
Organize and cleanup code and imports.
Wipe out profiling middleware.

Apart from being unmaintained, in case there is a real need for this
feature, django-extensions already provides a `runprofileserver`
command:
http://packages.python.org/django-extensions/runprofileserver.html
Provide natural names for checks.

Fixes bug 1758.
No need for a hidden input for storing the check id to reject.
`defaultValue` is accessed with `.prop()` since jQuery 1.6.

Because this is a DOM property, we need to use `.prop()` rather than the
ambiguous `.attr()`.

Fixes bug 2403.
Small variable optimizations.