add set custom field method

Relates to https://github.com/appcelerator/acs/pull/809/files.