Be able to build without specifying credentials

To deploy the plugin to bintray, a uid/pwd must be set, but for a simple
build it should not be necessary.

Use the project.hasProperty(...) method for checking if the uid/pwd is set
before accessing it, else use an empty string.