add get_raw_support script function, returns true if current capture mode has valid raw data, update setmode.lua test to report value