Display search term in box on services page

On page load, display the contents of the filter query parameter
in the search box on the services page.

This requires sanitising the input before displaying it because
sometimes there are naughty people on the internet.
Fix typo in FilteredListView
Make filtered list view take an object of filters

You might want to filter on more than one aspect, eg service name
and which department it belongs to.
Refactor dashboard collection for multiple filters

We want to filter the dashboard collection on multiple facets like
title and department.

To make this easier, use Underscore's filter method to return true
or false based on whether we want the dashboard included in the list.
Write out agencies and departments config files
Add department filtering to services page

This commit adds a select box to the services page to filter
services based on their department.

It generates an array of departments using a dashboard collection
which it uses to populate the select box. We create slugs based on
the department's abbreviation.

This works in browsers with and without JavaScript by adding a
submit button to the form.
Pluralise 'service(s)' correctly on services page
Add agency filtering to services page

This is broadly similar to the departmental filtering.
Show current filter in text title on services page

When the user has filtered the list of services, update the text
underneath the count of services to show what they're currently
filtering as.
Style select boxes on services page
Upgrade Modernizr from 2.7.0 to 2.8.2

Wow. Very change. Such modern.
Add History API to Modernizr

We want to use the History API on the services page to change
the page URL when filtering.
Use History API to update URL on services page

When the client supports the History API, use it to change the
URL after filtering has occurred.
Improve tab styles on small screens

Tabs weren't really styled at all on small screens.

This commit rejigs some of the styles so that they are more mobile
first, and makes them a little bit tidier on small screens (they're
nowhere near perfect, but improved).

In some cases I haven't styled this page mobile first (eg background
and border colours). This is to improve the page for browsers that
don't support media queries (IE 8) because it doesn't complicate
our code that much.
Remove trailing commas

Trailing commas cause Internet Explorer 7 to break.
Merge pull request #622 from alphagov/66943478-filter-services-page

Add filters to the services page
Merge pull request #632 from alphagov/bugfix-trailing-commas

Remove trailing commas
Initial attempt at being more webby

Links are goodness, m’kay?
Merge pull request #628 from alphagov/feature/html-formatter

Content dashboards should link to referenced content
Merge pull request #630 from alphagov/fix-tabs-small-screen

Improve tab styles on small screens