feat(rpc): add search type handler
This commit introduces a PackageSearch-derivative class: RPCSearch.
This derivative modifies callback behavior of PackageSearch to
suit RPC searches, including [make|check|opt]depends by types.
Signed-off-by: Kevin Morris kevr@0cost.org
Edited by Kevin Morris