added ensureTopic function
Merge branch 'master' of github.com:publicmediaplatform/taskscheduler