implement sending request, show it in buffer

Implements a new function that sends the query to a elasticsearch
server. The response is displayed in a different buffer.