Support 'provided' dependencies in IntelliJ Idea build

Thanks to: http://stackoverflow.com/questions/20421681/provided-dependencies-using-gradle-jetgradle-and-intellij-idea-13