ParametersI.h: Work around Ice bug in ParametersIPtr typedef
templates/combined.vm: Work around Ice bug in ${PojoI}Ptr typedef

I'm not happy with this patch.  The seemingly arbitrary escaping
of the leading '#' seems wrong, even if it does result in correct
generated output.  Is there a better way to do this?
OmeroCpp: Use IceInternal::Handle everywhere for Ice >= 3.4

This replaces the use of IceUtil::Handle, which will continue
to be used for Ice 3.3 and earlier.
OmeroCpp: Correctly forward declare wrapped types and upCast

IceInternal::Handle requires that the wrapped type be declared but
not defined.  This is a bit odd, but this is Ice.
IceInternal::Handle requires that upCast be explicitly defined for
every single type.  Templates are too hard, apparently!
OmeroCpp: Use correct typecasts
templates/combined.vm: Correctly forward declare wrapped types and upCast
Add pthread configuration similar to autoconf

The new OmeroCpp/PThread SConscript file is now available
for checking various pthread configurations similar to
autoconf.

The file is called once by SConstruct and then recursively
calls itself in order to test the various pthread flags.
This is mostly determined by some strange calling errors in
SCons, but should allow with a little more work a fairly
self-contained pthread tool.

Note: several sections are still commented out since they
are unlikely to be immediately important for OMERO.
Revert BaseThreadPtr

Apparently because BT is a IceUtil::Thread
and not some other base class, IceInternal
Handle is inappropriate.
Remove Fixture f from unit tests

Fixture now attempts a connection causing
all these tests to fail. It was previously
needed when using boost::unit_test but is
no longer needed for gtest.
s/CPPFLAGS/CXXFLAGS/g
scons: Use LINKFLAGS for -pthread
Add OMERO_API to all upCast declarations
chgrp.cpp: Use IceUtil::Handle only

Also fix regression in the return type of cb->block which
is now bool.
omero::client: Remove unused include
test/unit/client.cpp: Don't create an omero::client on the stack
OmeroCpp: Correct line endings to use LF only
Merge pull request #597 from rleigh-dundee/icecpp-dev44

C++ fixes for building with Ice >= 3.4 (dev_4_4)