Make thread_type editable.
Merge pull request #120 from edx/jmclaus/add-thread-type-attribute

Added thread type attribute.