WIP still. Minor refactoring of progress_badgelets.js.
Added usage of underscore.js in progress_badgelets. Fixed test_badges so that tests pass; still need to write more tests there.