Fixed treetable sorting issue where previous sorted columns stay highlighed, also added TreeUtils for reuse.

git-svn-id: http://primefaces.googlecode.com/svn/primefaces/trunk@10551 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c
Avoid duplicate user agent resolve if jquery already done it

git-svn-id: http://primefaces.googlecode.com/svn/primefaces/trunk@10552 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c