Adding description of how to test a command which expects user input
Minor improvements suggested by @WouterJ
Refactoring example code for the dialog helper command test
Removing duplicate option
Improving document root handling
Merge pull request #2398 from Sgoettschkes/issue2351

Adding description of how to test a command which expects user input
[#2398] Minor tweak for dialog helper test
rewrite of internals

advance sample on internals rewrite
add links to components for foundation and kernel
link more events and add link of missing terminate event
keep </ consistency
fix as </ is for paths and not for references
changed reference link as per stof's comment
Merge branch '2.0' into 2.1

Conflicts:
	book/installation.rst
[#2405] Porting kernel.terminate changes into the 2.1 branch