add exit base library function
fix "break" keyword compiling error in if block

This patch fix the compiling bug in below code:
if (cond) {
    break
}
introduce ktap testsuite