[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.
it should be `requires-channel` (both work, but according to the Symfony XML standards, dashes should be used)