Moved legacy support class into core, renamed phRETS class to WPP_RETS for consistency and to avoid conflicts, reformatted several PHP classes to follow standards.