cct: Change syntax

Remove spaces before Python code lines, introduce
function calls {@ call() @} + docs + tests.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>