Support for query timeout

This PR adds support for the optional `timeout` parameter which is used to set the request timeout when calling Keen.IO.