Document code style guidelines in CONTRIBUTING for shell and PHP

Fixes #195
Merge branch 'docs/style-guide'