TESTS: Fix COMPAREANDWRITE tests to send write data

Previously COMPAREANDWRITE was only sending verify instance data which
can cause targets to generate COMMAND ABORTED/NOT ENOUGH UNSOLICITED
DATA errors due to the buffer being obviously too small to contain
verify AND write instance data.

The buffer size check has been modified and compareandwrite tests
updated to pass a larger buffer with interesting write instance data.
Fix compilation issues under clang

clang defaults to c99 so remove inline statements
(http://clang.llvm.org/compatibility.html#inline ) on functions shared
across different translation units.
clang's linker doesn't like major numbers over 255 so change how SOREL
is generated in Makefile.am.
Fix compilation on OS X

OS X doesn't implement SOL_TCP so workaround this the same way as on
FreeBSD/Solaris.
Merge pull request #74 from sitsofe/compareandwrite

TESTS: Fix COMPAREANDWRITE tests to send write data
Merge pull request #75 from sitsofe/clang

Fix compilation issues under clang
Merge pull request #76 from sitsofe/osx

Fix compilation on OS X
TEST: read10invalid  use the reported blocksize instead of a hardcoded value
Merge branch 'master' of github.com:sahlberg/libiscsi