add behaviors
Add before:show events
use ^ rather than ~
Combines Application docs to single page.

Fixes #986
Refactor Module tests