improve tps, add more winsetting actions

tps: add log support and self log
tps: add string prototype lpad,rpad,icaseEqual
tps: improve IndexOf