[bindings] fix Java on old swig versions
nest if/else explicitly
warn if yarp nameservers not configured
[test] add bindings to travis tests