Environment script generation: use awk to split records by semi-colons

- No need to use sed, and using '\n' in sed replacement is not portable
new unified vector-comparison functions for REAL4- and COMPLEX8 vectors

- XLALCompare[REAL4|COMPLEX8]Vectors(): output a struct detailing
  different comparison metrics computed (can be easily extended in the future),
  and allows checking against a given set of tolerances for those metrics
- useful for comparing Fstat-vectors, Fa-vectors and SFTs
renamed and extended TestLFTandTSutils.c to LFTandTSutilsTest

- test only XLALSFTVectorToLFT() directly, instead of
  XLALSFTVectorToCOMPLEX8TimeSeries(), which doesn't have a direct comparison
- refs #535
LFT and CFS tests: use new vector-comparison functions

- replace individual 'manual' comparisons in each case
- added debug-output of Fstat-vectors in ComputeFstatTest.c
  if 'info' bit is set
ComputeFstat_Resamp: more cleanup and internal simplification

- removed some more old-API vestiges
- pure restructuring, no content changes
- refs #535
ComputeFstat_Resamp: simplify internal handling of buffer

- refs #535
ComputeFstat_Resamp: simplified and allow returning more Fstat quantities

- simplified calculation of multi-IFO Fstat values, and slightly
  reduced memory footprint
- activated returning FAFB, FAFB_PER_DET
- return proper Mmunu matrix
- refs #535
LFTandTSutils: simplify math using C99 complex operations

- refs #535
LFTandTSutils: style cleanup and modernized, no content changes

- use 'XLAL style' consistently
- refs #535
LFTandTSutils: global definition of NhalfNeg|Pos() macros

- refs #535
XLALSFTVectorToLFT: interally use XLALSFTVectorToCOMPLEX8TimeSeries()

- avoid lots of code duplication
- refs #535
lalinference: generalize current-param initialization
Patch BAMBI for more flexible variables

Signed-off-by: Benjamin Farr <bfarr@u.northwestern.edu>
Spin-dominated waveform patch into LALSimaultion
Remove IFO consistency requirement from XLALSFTAdd and XLALSFTVectorAdd, but enforce the IFO requirement in XLALMultiSFTVectorAdd
Add MultiSFT version of XLALExtractBandFromSFTVector()
pulsar_parameter_estimation_nested:
 - the code can now read in gzipped as well as ascii text input
   heterodyned data files. (This uses the XLALFileLoad to read
   in the file and XLALCreateTokenList to parse the read in string).
 - the code now has the option to only output nested samples
   for non-fixed (i.e. variable) parameters.
 - the code now has the option to gzip the resulting nested sample
   file.
pulsarpputils.py: conversion between the physical and waveform parameters is now consistent with that in ppe_models. This assumes the initial phase is the rotational phase.
LALInference.c: make output format for floats consistent between LALInferencePrintSample and LALInferencePrintSampleNonFixed

closes #1446
SWIG: miscellaneous fixes

- Remove SWIGLAL() macros and provide full path
  to LALStddef.h in preprocessing interface
- Order interface headers by #include precendence
- Move header #includes to SWIGCommon.i, and
  protect GSL includes with SWIGLAL_HAVE_LIBGSL
- Fix argument parsing in run_swig_tests.sh
- Remove -f switch from run-octave rule