fix Latin-1 UTF-8 encoding issues. An old export of content/databse/cms has Latin-1 encoded caracters, newer content is all UTF-8, they are mixed. add encoding: UTF-8 to files to stop erros of the gsub utf-8 substitution. clean up regex for bbcode removeal/substitution. readded code so bricolage_template is used fot link url etc.. not nid.