Fixed up parser errors.

Function definitions currently do not match, function pointers are a
bit out and it doesn't like const appearing after the initial specifiers,
but most of the example test cases do at least parse.

Next up is building the model of the types properly, then swinging back
over the broken cases.