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.