refactored bin/codebadges: use block form for file open/close
Modified tests to handle multiple users	(not file input)

- call CodeBadges.get_users_badges instead of from file