added optional `ttl` attribute to specify result cursor expiration for HTTP API method `POST /_api/cursor`

The `ttl` attribute can be used to prevent cursor results from timing out too early.