add parsing hooks

add some hooks in order to have fine-grained control over the parsing process.
add parsing hooks

add an extra hook in case of "incognito mode"
add example + fix mistake
Merge pull request #1 from cbellone/master

add validation/success hooks