Fix the junit tests, bump sleep for bind issues

1) Merged the changes from Szczepan for fixing the Junit tests.
Previously JunitAll ran the integration tests and ran over 4 hours.
2) Szczepan removed redundant sourceSets, moved common configurations
to test block, created reports
3) Created aggregated reports for junitAll verified the coverage was
similar to before.
4) Noticed few bind exceptions on 2 ms sleep, so bumped them to 5 ms.
Merge pull request #190 from arunthirupathi/gradleJunit

Fix the junit tests, bump sleep for bind issues
add check for SocketAndStreams in sendAndReceive