Fixing phpcs problems from https://travis-ci.org/Elgg/Elgg/jobs/9528292
Fixes email headers from hook being ignored
Cleans up CONTRIBUTING.md

Format is now more consistent for each section and clearly outlines our expectations in checklist format.
Fixes build by specifying karma version
Begins RST docs in /docs subfolder