Implement rpc call batch, to loop apis in one rpc call, fix some coffee script rpc generation typo