add a tail-recursion ver of fib() to examples
resolve a todo t/run/322, an issue on template inner classes
cleanup jsemitter