Refactor Rarest Badge job to use StackExchangeService class

...and fixes a bug where a badge other than the rarest was displayed.