Refactored step definitions; moved issued badge tracking to support lib.