web: enhance badge features

- the default badges (defined in ops/badge_assign.php) are now
  based on RAC percentile (top 1%, 5%, and 25%) rather than plain RAC.
- RAC percentile badges are now granted for teams as well as users;
  show badges in team page.
- move badge utility functions to inc/util_ops.inc
web: tweaks
web: badge images
web: tweak badge images
web: add badge stuff to db_update script
admin web: enhance badge admin page

- add delete button
- show # of badges assigned
- don't use separate head/tail function are admin pages
- add badge assign task for new projects
- turn on db_dump, update_uotd, update_forum_activities,
  update_profile_pages, notify for new projects
web: show badges on private user page
Commit from Pootle Demo by user admin.: 2788 of 2797 strings translated (9 fuzzy).
Commit from Pootle Demo by user admin.: 2797 of 2797 strings translated (0 fuzzy).