added TextButton class that is cmsable, also changed detection of object in all ocean cms classes to use proper array detection