Add CONTRIBUTING.rst

GitHub will suggest that people opening a PR read CONTRIBUTING.* if such a file
exists in the repository. The aim is for the contents of this file to help
people submit code in compliance with the repository style.