Tweak formatting, add code comments for Express 4

This brings aligns the code with the original formatting ;), adds some more code comments, and increases clarity around the differences between Express 3 and 4.

Also fixed an bug when iterating over collections where `map()` was used instead of `forEach()`.