add support for Vec<int> and Vec<float> to genapprefs3.py (for TocState and ZoomLevels)