Added a mutex lock in fillMeas to avoid segfaults when used in multiple threads


git-svn-id: http://casacore.googlecode.com/svn/trunk@21431 6afa274c-0927-0410-9b47-a1284d797885
Use ImageProxy to copy the image (expression).
Not only does it save code, but it also solves the problem of handling
a single image


git-svn-id: http://casacore.googlecode.com/svn/trunk@21432 6afa274c-0927-0410-9b47-a1284d797885
TWEAK: CMakeLists.txt: embed rpath info to avoid LD_LIBRARY_PATH foo
TWEAK: scimath/Functionals/Gaussian2DParam.tcc: precise flux roundtripping

Avoids random assertions about amplitude not being unity.
TWEAK: fix missing includes
TWEAK: ms/MeasurementSets/MSSelector.cc: fix size of weight/sigma when selecting polarizations

Not fully tested!
TWEAK: ms/MeasurementSets/MSSelector.{cc,h}: remove now-unused wantedOne_p member
TWEAK: fix exception specification thingie