Add actionbutton resulttype data: when used in json api converts result to json


A new script result type "data" is introduced. It contains a set of ids (workspaceIds, ListIds, SmartlistIds, ItemIds) which scriptwriter can return. These Ids will be used in ember mobile application to preload data for offline mode. In desktop version this new script result type is ignored.