Fix some syntax errors in include files.

A few functions were missing semicolons. While I was there I ported them to new-style syntax.

The really problematic thing was the forward declaration of `public PluginInfo:myinfo`. I think it was there for documentation. Anyway, forward declaring variables doesn't make sense, so this is just a duplicate definition.