Added duLogBuildTimes.
Fixed rcBuildContours not returning result code.
Fixed doGetAccumulatedTime in RCContext.