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)`