MULE-6887: Duplicating instanceName in quartz connectors cause weird application failures

_ Note: is hard to add a test for this as it requires two mule apps
(cherry picked from commit d895593)
(cherry picked from commit 7ab90b7)
(cherry picked from commit 9ec0f77)
(cherry picked from commit e26a6cd)