Gradle: Add 'application' plugin

gradlew run / distZip / distTar / installApp
Merge pull request #3 from mkalb/gradleApplication

Gradle: Add 'application' plugin
Gradle: Added Checkstyle plugin

gradlew check
Merge pull request #4 from mkalb/checkstyle

Gradle: Added Checkstyle plugin