Make autocomplete function return results rather than marshalling them directly
Make autocomplete function return results rather than marshalling them directly

Summary:
In order to do autoocomplete over the persistent connection, we need to wrap the
result in a variant. The client cannot simply assume that it will be an
autocomplete result.

If this looks good I'll follow up with diffs to convert every case in respond to
use this pattern.

Reviewed By: avikchaudhuri

Differential Revision: D5005662

fbshipit-source-id: 49e590341dec0f7d815f73a339df8afedfde1b7c

AgentME/flow,mroch/flow,MichaelDeBoey/flow,nmote/flow,fletcherw/flow,samwgoldman/flow,popham/flow,AgentME/flow,gabelevi/flow,gabelevi/flow,AgentME/flow,mroch/flow,ylu1317/flow,AgentME/flow,popham/flow,samwgoldman/flow,gabelevi/flow,MichaelDeBoey/flow,facebook/flow,jamesgpearce/flow,MichaelDeBoey/flow,jamesgpearce/flow,ylu1317/flow,JonathanUsername/flow,MichaelDeBoey/flow,gabelevi/flow,nmote/flow,JonathanUsername/flow,popham/flow,samwgoldman/flow,samwgoldman/flow,samwgoldman/flow,claudiopro/flow,nmote/flow,AgentME/flow,JonathanUsername/flow,popham/flow,jamesgpearce/flow,mroch/flow,facebook/flow,nmote/flow,TiddoLangerak/flow,jamesgpearce/flow,fletcherw/flow,claudiopro/flow,TiddoLangerak/flow,mroch/flow,facebook/flow,mroch/flow,claudiopro/flow,ylu1317/flow,TiddoLangerak/flow,gabelevi/flow,gabelevi/flow,facebook/flow,TiddoLangerak/flow,nmote/flow,facebook/flow,mroch/flow,popham/flow,JonathanUsername/flow,TiddoLangerak/flow,fletcherw/flow,nmote/flow,samwgoldman/flow,JonathanUsername/flow,fletcherw/flow,popham/flow,claudiopro/flow,jamesgpearce/flow,MichaelDeBoey/flow,samwgoldman/flow,ylu1317/flow,JonathanUsername/flow,mroch/flow,fletcherw/flow,facebook/flow,facebook/flow,jamesgpearce/flow,popham/flow,jamesgpearce/flow,ylu1317/flow,JonathanUsername/flow,fletcherw/flow,gabelevi/flow,nmote/flow,claudiopro/flow