Use tds_start_query directly.

Do not use a macro which call a function which is used quite a lot.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Added a lot of internal documentation

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>