Fix multiple Thread inheritance.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
Merge branch 'feature-aapp-and-npp' of github.com:mraspaud/trollduction into feature-aapp-and-npp