Add a contribute guideline to extension template.

[Closes #2781]