JENKINS-19838 - Enable separate queues per SCM type

Use a map of queues stored after their SCM type. In the default case,
use one map entry of name "default". This is also used in the sync
polling case.