This goes through and fixes most of the API surface and ensures it makes some kind of sense and is halfway consistent, and uses consistent code style, and will break quite a lot.
Been putting this off for years, given the kos addon that someone else wrong which hits VesselState via reflection this needs to happen at least now. Should have happened years ago, but this is a large codebase. (commit: 4e8e631)