THRIFT-1182. rb: Native deserializer segfaults on incorrect list element type This patch causes both the pure ruby and native extension code paths to check if the data in lists, sets, and maps is of the expected type before deserlizing it. When it's not the right type, it now skips the bad data correctly. Patch: Ilya Maykov