Fix all dlang.org code examples to follow Phobos style

As discussed on forum.

I decided to separate the changes for each file into its own commit, so that if needed, we can cherry-pick which ones to include.
```d
+    static if (is(T[]))
```