[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.
why did you do this? I prefer to outline all attributes the same way, that way the first attribute isn't missed. Also, we use the same technique in PHP arrays.