Updated example and code, added transitions, and moved sections
LRDOCS-464 Edit and modify some formatting in hooks.
Merge pull request #512 from jhinkey/LRDOCS-464

LRDOCS-464 DevGuide Hooks addressed comments