Update content structure in view helpers

- headlines updated
- index updated
- example for inlineScript capturing added
Fixes for subdirectory and comments in code examples
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'

Close #1007