Smarter way of handling settings

Removed monkeypatching from cms.__init__
Removed cms.conf.*
Added cms.utils.conf.get_setting(name)
Refactored all (CMS) setting accesses throughout the code base

This should fix issues with more recent gunicorn version (>0.12) as
well as make the code less hacky.

Known issues on this branch:

* ApphooksPageLanguageUrlTestCase.test_page_language_url_for_apphook
  currently fails, not sure why.
* SettingsTests.test_cms_templates_length,
  SettingsTests.test_cms_templates_none and
  SettingsTests.test_cms_templates_valid all fail currently because
  cms.conf.patch.post_patch and cms.conf.patch.post_patch_check are
  no longer available.
delete orphaned plugins command and tests
delete orphaned plugins command and tests
docs for delete orphaned plugins command
only call plugin_report() once
removed unneeded import
add_plugin view now returns primary key as plain text rather than html.
bumped version number
Merge branch 'develop' into dont-patch-configs

Conflicts:
	cms/admin/change_list.py
	cms/admin/pageadmin.py
	cms/api.py
	cms/models/pagemodel.py
	cms/signals.py
	cms/tests/admin.py
	cms/tests/page.py
don't test non-existing patching magic anymore
fixed typo in merge
upgrade docs, docstring
merged with develop
Merge pull request #1589 from evildmp/develop-fix-list

delete_orphaned_plugins command
Fixed cms.utils.i18n.get_languages failing due to missing default

Also ensure that get_settings('LANGUAGES') has a useful 'default' key
Added tests for CMS_LANGUAGES without a 'default' key
Merge remote-tracking branch 'origin/develop' into dont-patch-configs

Conflicts:
	cms/__init__.py
fixed legacy warning
Merge branch 'develop' of github.com:divio/django-cms into develop
Installation checking infrastructure

* Added cms.utils.check.check
* Added 'cms check' command
* Added infrastructure to write installation checks
* Added first simple sekizai check
fixed runshell.py