Merge branch 'master' into major
Fire 'saveSnapshot' in setData.
Introduce editable.status.
Code optimization - better to have one listener only.
Check the status of editable in undo manager.
Introduced undoManager#lock forceUpdate flag.
Callback is executed when setData completed its job, so fire saveSnapshot before that.
Make sure that if no changes has been made in source mode snapshot containing insignificant DOM differences like bogus <br>s is not saved when switching to wysiwyg mode.
Avoid two getData() calls in a row by reusing data set when detaching editable.
Mentioned specific tests in comment.
Fix for #7174 is not needed any more.
Unlock selection on setData to handle inline editor.
Changelog entry.
Merge branch 't/5217' into major
config.captionedClass config option to control CSS class of captioned image.

Conflicts:
	plugins/image2/plugin.js
config.captionedClass considered in widget's template.
config.captionedClass considered while upcasting and checking for centering wrappers.
config.captionedClass considered in ACF rules of widget definition.
config.captionedClass updated default classes of captioned images in samples.
Updated doc strings.