port all ktap testcases into prove test framework

This patch also fix a deadloop bug:
	tick-1s {
		exit()
	}

	while (1) {}

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>