Update security.rst

Fixed a few grammar issue, tied up some parts.
Merge pull request #1504 from davidyell/patch-3

Update security.rst