add documentation for contributing

As suggested by @magthe.