RepoApi.js: Add searchEntities()

Change-Id: Id4cbe324abe6d31602a421ee55972584158e23e4
Merge "RepoApi.js: Add searchEntities()"