only print non-null err to console
fix to pouchdb provisioning

use 'push' instead of concat since elements are strings.
fix for setting clientPort manually

when using rest api to start a client and manually passing in
value port, then clientPort is set to this port as well and
new clients are based on this port number which is outside
of expected range