BZ-1101433 - CNFE when calling getContent via remote api for Custom Objects - promoted execute and getTaskContent to TaskService public api

(cherry picked from commit 00165bfd751e0dd935938de0bd6165ac332473e3)