WritingChecks: Add section on how to avoid security issues

Add a section detailing some of the mistakes we have done in the past
and how to avoid introducing them in new code.

Signed-off-by: Niels Thykier <niels@thykier.net>