alphagov/frontend — pull request #160 by JordanHatch (2012-11-15 11:16:38+00:00)
Title: Use the providing tier for licences where available

If the local service is available for this licence, match the
providing tier to the councils in the geostack to return the most
appropriate authority for the user's location.

If there is not a local service available, or if the user's location
does not include an authority matching the providing tier, fall back
to the existing behaviour of selecting the closest authority to the
user.

The test case which this fixes: using postcode OX1 1BX (Oxford Council) on the [Skip permit licence](https://www.gov.uk/apply-skip-permit) should provide the service for Oxfordshire County Council instead of Oxford City Council (district).