Fixed RSS-breaking issue in pressureCurve parser

Fixed RSS-breaking issue in pressureCurve parser (pressureCurve data with no tangents would throw an error)
Improved sanity checking in pressureCurve parser.
Moved pressureCurve parser code into a generic animationCurve parser: loadAnimationCurve() for any other curve data we need to handle.