Migrate old vitaminstore sample submission plugins to the new generic one and fix warnings and build errors