move th2poly code into v7
move th2poly code into v7

not really used, but keep it synchronized
linev/jsroot,bellenot/jsroot,bellenot/jsroot,bellenot/jsroot,linev/jsroot,root-project/jsroot,root-project/jsroot