Fix bug 870397 - Add some helper APIs around make results, return data.hits directly for search callback r=cade