[Book] consistent and complete config examples

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | 

Make configuration examples in the book consistent throughout the different configuration formats. Also fixing several syntax issues.
Can someone confirm that ``requires_channel`` is the right attribute (and note ``requires-channel``)?