Extract contributing guide into CONTRIBUTING.md

While at it refactor the guide for clarity. Some of the new text was
taken from erlware/relx/CONTRIBUTING.md.