refactored post template populate function
only if no page is present check for placeholders
refactored & optimized page toolbar code
removed unused import
refactored placeholder & basic toolbar code, init placeholders post template
use django urlencode and let it handle the compatibility problems
made add url parameters a utility function
use add_url_parameters utility function
check for existing title language in on delete redirect, fix for #3270
fix for user button if auth model is swapped
Support of nested namespaced URLconfs in hooked apps.
Also added ability to exclude some namespaced URLs from cms_perms decoration.
Don't set namespaces in first level of nested URLconfs.
Added test case for exclude_permissions feature of CMSApp.
fix plugin permissions for child plugins on apphook pages
Improve navigation & structure of documents

Presently, the new RTD contents list in the sidebar is more or less unusable:

https://www.dropbox.com/s/bl36v087cza6r7v/Screenshot%202014-07-14%2014.48.21.png (image)

The new version looks like:

https://www.dropbox.com/s/soiv9iq4vss1v9k/Screenshot%202014-07-14%2014.49.50.png

The expanded table of contents still appears in the main index page.

conf.py has also been updated to use the new RTD theme locally, if the user has it installed; if not
it will use the built-in theme as usual.

Also includes miscellaneous minor corrections.
Backports documentation restructure from develop

Commits:

52a480beec529955cf2ebbd618666520c238ad39
ea6e46ef874a76b9eebd8d7de8db6782f1d01806
Merge pull request #3307 from evildmp/documentation-backport

Restructure documentation and improve contents tables (backport)
Fix docs building
Merge pull request #3313 from yakky/feature/fix_docs_master

Fix docs building on master
Merge branch 'develop' into refactor-cms-toolbar-code

Conflicts:
	cms/cms_toolbar.py