Merge pull request #1797 from FinalAngel/develop

Adds live indication if there are unpublished changes
mark a page as dirty works again with tests
toolbar entries only show up in build or edit mode
button api added
testsuite fix
refactor buttons
Merge branch 'develop' of github.com:divio/django-cms into develop

Conflicts:
	cms/templates/cms/toolbar/menu/item.html