Added test for page_attribute escaping
Language code for Norwegian should nb according to: https://docs.djangoproject.com/en/dev/releases/1.2/#language-code-no Conflicts: cms/locale/no/LC_MESSAGES/django.po
From Django 1.4 onwards, settings.USE_TZ = True is the default for new projects. It makes sense to run the tests with this setting. Warnings related to time zones support are turned into exceptions to make debugging easier and prevent regressions in this area.
Fixed typos and reduced line length to <80
Setting the related_name in a models.fields.PlaceholderField to '+' causes the permission checks on models.Placeholder to fail because models.Placeholder._get_attached_fields which is used by the permission system will not find the attached model. This patch prevents this by simply raising a ValueError if a developer attempts to create a models.fields.PlaceholderField with '+' as related_name. This is documented in extending_cms/placeholders.rst and tested in PlaceholderTestCase.test_placeholder_field_no_related_name.
Url auto generation is broken as ```$``` is undefined when DEBUG=False.