Added ability to have multiple patterns per source

The source configuration may now have:

  source:
    patterns: [ { pattern => '...', index => '0' }, ... ]
  }

in addition to the previous format.