Make use of the REST API Item and Property prefix search use cases for wbsearchentities.
Current differences:
- no distinction between search and result language in REST use case
- type parameter in Action API will serve as an indicator which use case to delegate to (Item or Property)
- strictlanguage parameter allows to disable language fallback
- props parameter allows to show the URL of search results
- profile parameter allows switching to 'language' search profile
- response format
- error messages
- maybe create an ADR with conclusions how to refactor legacy code according to ADR 25 (Wikibase modularization)
A/C:
- output format and error messages do not change