engine: Expand GetNetworkByIdQuery to a user query

The query will be used for fetch a specific entity
by the clients.

Change-Id: Ia4bef895ede7416d1dce34561e7b6af63483b69c
Signed-off-by: Moti Asayag <masayag@redhat.com>