-added definition for STD, COM and PRE constants
-replaced ['STD'] and ['cmsOnlyMode'] with STD, COM and PRE constants
-replaced Indi_Registry* with Indi::registry()
-added 'return' statement for /Admin/RenderForm.php