CSS: fixed comment
TM: minor refactoring
TM: removed unnecessary extra nesting level
TM: call highlighting from templates
TM: get source text directly from the unit
TM: escape markup from target texts

Fixes #202.
Cleanup: registration already passed away
Agreement: no need to inherit from different form classes
Requirements: bump required minimum Django version
Cleanup: Just get the template loader class and instantiate it.

This avoids us problems when moving to Django 1.5 which lacks that private
instance of the loader.
Profiles: Apply PR to get rid of function-based generic views

The PR is in https://bitbucket.org/ubernostrum/django-profiles/pull-request/6/

There is another PR with a slightly different approach, but when and if
django-profiles finally supports class-based generic views the code will be
quite similar to any of these two PRs.

Whitespace changes are not merged to make it easier to see the real changes.

This commit and the previous two ones fix bug #2517
Cleanup: django.conf.urls.defaults is deprecated

Use django.conf.urls instead.

This makes 'profiles' app to be less aligned with upstream code, but it is
necessary for making this work on new Django releases.
pootle_profile: Use reverse() instead of hardcoded urls
Cleanup: align with our styling
pootle_profile: Move profile URLs to /profiles/

/accounts/ is reserved for accounts (authentication) related urls
Django 1.5: Use class-based TemplateView

The function-based `direct_to_template()` was removed in Django 1.5.
initdb: Do not create a manual transaction for projects/languages/admin

This makes Django 1.6 complain as sqlite will not play nice with manual
transactions outside atomic blocks
Django 1.5: removed `{% load url from future %}` calls

No need to keep these around since the behavior it brought is the default
in Django 1.5+.

Fixes #183.
Django 1.6: specified name in authentication URL patterns

Note that some names need to match those used in
django.contrib.auth.views.

Fixes #179.
Django 1.5: used the receiver decorator

Mostly syntactic sugar to allow connecting various signals to the same
handler. Other signal handlers have been left intact.

Fixes #176.