Add preprocessor for codefolding extension

Thes preprocessor removes folded lines in codecells as defined by the
cell metadata