Fix race conditions in Curve.
Also use QReadWriteLocker for bottleneck getValue() in knob
Merge branch 'workshop' of https://github.com/MrKepzie/Natron into workshop