Rewrite of BBCode parser

- fixed XSS vulnerabilty caused by unescaped quoted texts
- fixed XSS vulnerability caused by unescaped quote characters
- fixed XSS vulnerabilities caused by insecure contexts (style, href and src attribute)
- prevent invalid HTML markup (only allow <li> elements in lists, prevent stray tags, don't allow plain "&" characters, always set all required attributes)
- set nofollow attribute for links
- replaced duplicate code
Merge pull request #6 from Jacques1/bbcode-parser

Rewrite of BBCode parser
Removed standalone functions in the install files.
Fixed broken git commits.

Changes were rolled back during the last push.