1. refactor the code style before merge
2  refactor the table header drawing section

git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/gsoc2013tables@33432 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6