Fixed all ftu related stuffs, added some additional functions.

this is for v1train(master gaia-ui-tests)