Fixed memory leaks in bdgr_badge_make() and bdgr_badge_import().  Both functions now take bdgr_badge** as a parametr and assign new memory blocks.