Added bdgr_badge_sign() to sign a token and create a badge.