Add the ability to process contiguous WebIDL blocks

@darobin

Resolves #334, which also has more discussion of the idea.
Right, probably in a separate PR though?