Fixes #674 - add search to API.

This is a first draft, returning a simple array with entry ID and 
title.