Use badge to show number of categories in heading

The chevron didn't illustrate that the heading had any category
children. The app uses the badge pattern elsewhere.

Adds minor style improvements:

  - Pad erb tags
  - Use each instead of for

Fixes https://github.com/mysociety/alaveteli/issues/1962
Merge branch '1962-category-dropdowns' into rails-3-develop