Merge remote-tracking branch 'sfdev/2.0' into 2.0
Merge remote-tracking branch 'sfdev/2.0' into 2.0
Merge remote-tracking branch 'sfdev/2.0' into 2.0
BK-850 Try using an existing chapter heading
BK-855 Different user activity in the editing environment should trigger different kind of events
BK-855 Different user activity in the editing environment should trigger different kind of events
Merge branch 'bjandras-2.0' into 2.0
BK-803 Aloha plugin for inserting images
BK-872 Upgrade version of Aloha editor to 0.24
BK-866 Preserve fragments on links
BK-874 Fix couple of typos in Image dialog
BK-794 Aloha plugin for word count

Adds menu item called "Word count" to menu Tools.
After clicking the dialog appears with following info: word count in chapter, character count and character+spaces count.
Merge remote-tracking branch 'sf_booktype/2.0' into ticket_BK-794

Conflicts:
	lib/booktype/apps/edit/templates/edit/aloha_header.html
BK-779 Tab in the editor for changing styles
BK-875 Check if content in the editor has been modified
BK-802 Aloha plugin for word count
Merge branch 'ticket_BK-794' into 2.0
BK-876 Dialogs in Aloha plugins do not work because html code is broken
BK-875 Check if content in the editor has been modified
BK-869 File name too long in Image Manager dialog