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
Merge branch 'develop' into refactor-cms-toolbar-code

Conflicts:
	cms/cms_toolbar.py
modified toolbar test to pass with swapped user model
removed unused import statement to make pyflakes happy
Merge pull request #3259 from o-zander/refactor-cms-toolbar-code

Refactor cms toolbar post template populate code