Fixed advancedPatterns content

  * spelling errors
  * moved images to own folder
  * fixed sections
  * some formatting for code examples