Added functions to add, modify and delete definition

Using the admin agol hosted api, added functions to modify feature
service and feature layer data.