Update '$' definition in 18-appendix.md

Change to use document.querySelectorAll to reflect change in Cranium gist, as well as reorder expressions to allow jQuery or Zepto to be used if defined, instead of always evaluating to `document.querySelector.bind(document)`
Merge pull request #626 from hmsimha/gh-pages

Update '$' definition in 18-appendix.md