api: first pass at implementing search

search will look at most columns and perform a like query.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>