Added the field "toc.generate.replaceLineBreakWith" to the json format.

"replaceLineBreakWith" allow to substitute "<br>" in titles with custom
characters, such as ":" or "&mdash".

Also removed static decorators of a couple of methods.