add thread level labels.
Model changes introduced in this commit:

ALTER TABLE base_labelcategory add column scope integer;
update base_labelcategory set scope=1