Add CONTRIBUTING.md

Fixes #1026