Make create_task_type idempotent
There is no reason to raise an error when a task type has already been created and it enables to stop leaking
psycopg2 IntegrityError
exception as part of the scheduler interface.
Migrated from D2683 (view on Phabricator)