LALInference: Merge likelihood functions into one common function to eliminate redundant code
comment out SEOBNRv3 debug print messages
Merge remote-tracking branch 'origin/master' into lalinference_spline_calibration

Conflicts:
	lalapps/src/inspiral/posterior/LALInferenceMCMC.c
	lalinference/src/LALInferenceLikelihood.c
Added logic to LALInferenceMCMC to ensure proper null log(L) when marginalising over {time,phi,timephi}.
Patches (#1655) to CBC-GRB (cohPTF) codes to handle ligolw default handlers.
Merge remote-tracking branch 'origin/master' into lalinference_spline_calibration
lal.../include/lal/Makefile.am: remove ALL header links before rebuilding them

- otherwise links from e.g. from optionally-included header files can be incorrectly
  picked up by SWIG wrappings (e.g. LALXML-dependent headers in LALPulsar)
- in gnuscripts/lalsuite_swig.am: create intermediate rule between SWIG sources and
  $(swig_iface) which generates link in ../include/lal
SWIG: check for consistent list of input header files

- swiglal_header_list.txt replaces swiglal_preproc.i as reference file
  for when SWIG interface should be regenerated; swiglal_preproc.xml
  depends on it directly, and swiglal_preproc.i -> swiglal_preproc.xml.i
- swiglal_header_list.txt is included in the distribution, and is always
  built when SWIG wrappings are enabled; its action is determined by
  $(update_swig_header_list), which updates header list if SWIG generation
  is enabled, and prints an error in SWIG generation is not enabled
- should catch any changes in interface due to different configurations,
  e.g. switching optional LALXML support in LALPulsar; will not catch changes
  to header files themselves, which is less unlikely in LALSuite packaging
Remove SWIG from build dependencies of LALSuite Debian/RPM packages

- no longer needed since SWIG sources are bundled with release tarballs
SWIG: declare Python swiglal_get_reference() function with SWIGINTERNINLINE

- should suppress unused function warnings since SWIGINTERNINLINE includes SWIGUNUSED
GSLHelpers: print vectors/matrices to standard error
SuperSkyMetric: rename XLALSetLatticeSuperSkySpinBound() to XLALSetLatticePhysicalSpinBound()

- makes it clearer that this functions sets bounds on physical frequency/spindowns
SuperSkyMetrics: remove 'extra_padding' argument from XLALSetLatticePhysicalSpinBound()
LatticeTilingTest: print normal messages to stdout
LatticeTilingTest: use GSLHelpers.h to allocate/free GSL matrices
LatticeTilingTest: add a more extensive range of lattice tiling tests

- based on the tests performed in Redmine issues #1519, #1371, #614
bayespputils: Check for max likelihood phase if phi_orb is not estimated
(margphi and margtimephi likelihoods)
Changed default spline calibration uncertainties in LALInference to match O1 committments from cal document.
Merge remote-tracking branch 'origin/master' into lalinference_spline_calibration