debugged unicode TypeError in Testsuite2LXml & some refactoring

tcname = '  ' + tc.name   # if tcname is unicde, then TypeError:
decoding Unicode is not supported
utcname = unicode(tcname,'utf-8')

Cause: difference between reading from text file and xls file.
- text file: str
- xls file: unicode
Merge branch 'dev'