Update content structure in view helpers

- headlines updated
- index updated
- example for inlineScript capturing added
Fixes for subdirectory and comments in code examples
Merge branch 'hotfix/1003'

Close #1003
Merge pull request #1007 from froschdesign/hotfix/content-structure-view-helpers

Updated content structure in view helpers
[#1007] Update FlashMessenger docs

- to mirror changes in commits for #1007
Merge branch 'hotfix/1007' into develop

Forward port #1007