webkit2.web-view: internal re-ordering

Lots of code here, benefits from a somewhat
more logical grouping of types and functions.