Changed threads to ThreadDict.

Added index operator for ThreadDict.
XMerge branch 'development' of https://github.com/crew/dds-client into development