Updated plugin to run with Gradle 2.x

* Updated DSL to be closure-wise
* Updates value retrieval
* Adding deletage to closures with additional functionality