GRADLE-2742 DependencyHandler accepts dependency notation list with a configure closure

Improvement to dependencies declaration, it'll allow applying a config closure to multiple dependencies.

```
compile('group1:artifact1:ver1', 'group2:artifact2:ver2') {
  force = true
}

// or
compile('group1:artifact1:ver1', 'group2:artifact2:ver2') {
  transitive = false
}
```

Please find details in [GRADLE-2742](http://issues.gradle.org/browse/GRADLE-2742)

And [Grails](http://grails.org/doc/latest/guide/conf.html#config).