Changes to BBCodeHelper.
- Fix [code][/code] tags parsing
- Fix function names and scope
- Allow malformed [img=] and [list=] tags
- Put back the parenthesis that are removed during the [code][/code] tag parsing

Updates #1