Updated all patternes to match new prefix designations. #817.
Fixed accidental return.
Updated upgrade scripts to use new prefixes.
Updated upgrade and tests for treatment object.
Updated test data.
Fixed error in array.
updated sync script.