Restructured doc to split examples from reference.
Fixed webhook sample.
Merged master.