Declared bintray plugin explicitly.

Added TestNG test configuration.

Added 'gradle-plugin' attribute to pkg settings for Bintray publication.

Optionally add empty BINTRAY_USER and BINTRAY_API_KEY properties to 'ext' if they are not present during build (Travis CI).