Fixes $.expandable to work correctly in rich text HTML view.
Makes sure that publish date and user is set correctly even when publishing an older form of a draft.
Improves moveDown and moveUp enhancement functions to be more resistant against spurious markup.
Merge branch 'release/2.1'

Conflicts:
	tool-ui/src/main/webapp/WEB-INF/field/referentialText.jsp
	tool-ui/src/main/webapp/script/jquery.expandable.js
	tool-ui/src/main/webapp/script/jquery.rte.js
Adds visual module preview.
Fixes word count display in RTE not to overlap the toolbar items.
Improves $.toggleable by adding data-root option so that it can
Changes layout mode in list/record to use the new and improved $.toggleable.