Add CONTRIBUTING.md

Include guidelines for contributing to the project.

Fix #399