Folding for heredocs and nowdocs.

I don't like that I basically copied all of the definitions for these and added 'fold' to the end, but I couldn't
figure out a different way to conditionally add folding that didn't involve complete redeclaring them.