Started to create various_checks() function

Not in use yet and still a work in progress.
Added PHP hardening patch
Added a note about the PHP patch to README