removed the package option filter.chunk.end
pass the syntax patterns around instead of relying on knit_patterns$get()

this makes the parsing functions less dependent on side-effects of knit_patterns$set()