Correcting misspelling of Notificaiton where it appears in example code;
Corrected misspelling of Parition
Change a variable name in an example to remove any potential ambiguity caused by use of $q in proximity to a q() call.
docs: Fixing of typos and avoiding any potential ambiguity between us…
…e of function q()
and variable $q