Rename clear_instrument_cache to clear_cache, and check_instrument cache to check_cache.
Clear instr cache when getting out of resuming measure.
Make instr tasks use new wait/parallel API. Add some tests for PNASinglePointMeasure task (still incomplete).