Turn struct ScannerPlugin into a class.

To prevent forward declaration problems.

Change-Id: I92f2d4ef5e3a2297136918e4d46b036f62661118
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>