Skipping tests if port assignment wasn't successful
Fixing wrong handling of server socket SHDP-138

Additional tests for net/nio sockets.
Fix for DefaultResourceLocalizer

Fixing an issue when copy source has multiple files and destination
is a directory. Also adding more logging to easy finding what
is wrong with the configuration if localization doesn't work.
Merge branch 'SHDP-138' of https://github.com/jvalkeal/spring-hadoop into jvalkeal-SHDP-138
Merge pull request #10 from jvalkeal/SHDP-138
Merge branch 'SHDP-139' of https://github.com/jvalkeal/spring-hadoop into jvalkeal-SHDP-139
Merge pull request #11 from jvalkeal/SHDP-139