Better management of returned arrays from AS actions.

Fixes #1825
Well it seems there's [no such thing as a URL](https://developer.apple.com/library/mac/documentation/applescript/conceptual/applescriptlangguide/reference/ASLR_classes.html) in AppleScript anyway, so that's dead code. I'll remove it now :)