[1119] Combine duplicated `with` blocks
[1119] Extract repeated HTML into an include
[1119] Use inclusion tag for previous and next sections
ZA Questions index order by alphabetical ministry

fixes #1118.  We now customize the SASpeechesIndex code and templates
for Questions as the required logic is now different than for
Hansard/Committee:

 - we are grouping not by date, but by the alphabetical ministry
   (using normalisation in SQL, and a .extra() clause)

 - instead of using JS reveal on the hierarchy, we link to the intermediate
   minister specific page

 - the details of aggregate count logic for speeches are different, as we're
 now grouping by the speech.section.parent rather than speech.section

See also #1119 which seems to handle the navigation part of the github ticket.
add "the" to "Questions asked to the (Minister)"
[1119] Change next/prev finding logic to stay in same section

This uses code from speeches.models._get_next_previous_node.
Thanks to Matthew Somerville for that suggestion.
[1119] Assign html to variable in template to avoid running code twice

Thanks to Matthew Somerville for suggesting this approach.
Catch the IndexError exception specifically rather than any exception
Merge branch 'issues/1119-smarter-next-prev-links'
ZA: Move sorting of question sections from SQL to Python

The key on which we sort the question sections needed some small
additions anyway, to cover "Deputy President" as well as "President"
and different forms of ministerial sections.  This adds a
key function which can be used with sorted(), and doctests for
its behaviour.

(This might need to be revisited if we need the sections
downstream to still be a query set; at the moment that's not the
case, though.)
Merge branch 'issues/1118/questions-index-page'
Add a script for generating hansard statistics for Jessica

Fixes #1160.  This was a one-off request, but probably worth
committing to the repository in case we need to regenerate these
in the future.  This is a very slow and inefficient script - however,
this seems like a case where trading off speed of development against
speed of execution is reasonable.
The Women's representatives are Members of the National Assembly

... so don't count them separately, even though their association
with places is different from constituency members of the NA.
now using standard background-position declaration for carousel arrows, closes #1146
replaced all instances of non-standard background-position declaration

This is for firefox compatibility
Several spacing and text-size fixes to address display issues on iphone

Closes #1176
all images now have max-width:100%

This closes #1173, and should prevent similar issues
Long titles now break and hyphen

Only applies to small and medium screens, part of #1179
fixed overflow of form elements

Applies to mobile and non-JS version of feedback form, closes #1179
Merge branch 'martin/css-fixes'