cqerl_ts: Add a ts_select op

The select op tries to do range queries. More work needs to be done
towards generating a dataset that is worth querying.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>