Online editor new features

Added an option to enable code folding on code and comments.
The option is implemented similary as the line numbers option.
Enabled code mirror search, search and replace.