Move javascript to special file and include helper function.
First method for chunk editing helpers.
Merge pull request #3 from team-sb/master

Merge latest master changes into feature branch for compatibility.
Add contextmneu without any functionality.
Merge remote-tracking branch 'origin/feature-hierarchy' into feature-hierarchy

Conflicts:
	app/assets/javascripts/application.js
Delete chunks from contextmenu.
Update fancytree plugin.
Update contextmenu plugin.
Minor code cleanups.
Edit book path for book nodes in treeview.
Book node title correction.
Version history for chunks, basic functionality.
Merge pull request #4 from team-sb/feature-hierarchy

Feature hierarchy
Merge pull request #7 from team-sb/master

Merge latest master changes into feature branch for compatibility.