Added sub and sup tags
fix pInfo bug

It creates an empty object on the string 443 and then tries to get the length of the `restrictChildrenTo` property of undefined (newly created object) which sometimes throws an error.

Probably the same problem may be with cInfo on the string 461.
Merge pull request #2 from clexit/patch-1

fix pInfo bug
added missing center,ul,ol,li tags as per reference at http://www.bbcode.org/reference.php
added missing email, face, font, justify, large, left, right, small tags as per reference at http://www.moreonfew.com/what-is-a-bulletin-board-code-or-bbcode/
Merge pull request #3 from starfishmod/missingtags

Missing tags
Added a semicolon to the URL pattern
Merge pull request #4 from cwilldev/urlPatternSemicolonSupport

Added a semicolon to the URL pattern. Thanks!
test
extendted with tags() and addTags() methods to be able to add new tags from outside
Merge pull request #5 from giscloud/master

Added addTags() method to enable adding new tags
Merge remote-tracking branch 'remotes/upstream/master'

Conflicts:
	xbbcode.js