Add toBBCode() and fromBBCode() methods. #112