Add support for upper and mixed case tags

The current parser only handles fully lowercase bbcode tags. This change
augments the existing functionality to essentially make the bbcode tag
detection case insensitive, for cases where you may have upper or
mixed-cased tags in your source content.