Add a CONTRIBUTING.md
Merge pull request #1010 from devinus/contributing-guidelines

Add a CONTRIBUTING.md
Add __DIR__, closes #1019
Private on_load functions should not trigger unused warning