Made Search::patmatch() public as was intended.
Added XSRFToken utility class.
Added bbcode() function.
Added XSRFToken class test page.
Added bbcode() test page.