Improving Thread State Handling

Change-Id: Ibd0cc52af59dd58eafb671ec057de5357524a090
Fixed Unicode build

Change-Id: I05060b5590a21dea04057878f2b26285bfb84d58
Adding checks on return value in FileTraverser.

Change-Id: I5215ed8753bfcd4f7245933e24f9e02090b815de
Making ThreadPoolTest more robust to threading issues

Change-Id: I106014585a853d190023f4fcb5afa75c18195689
Fixing Math namespace issue on QNX

Change-Id: I9844b9e614963cd51023e2746a159c634db05934