pylal.rate: new I/O API
pylal.rate: edit an error message
test_rate.py: make executable
pylal.rate: flatten InterpBinnedArray

- instead of a class with a .__call__() method, convert to a function that
  returns the interpolator directly
pylal.rate:  add .argmin() and .argmax() to BinnedArray
Fix missing space in help string
pulsar_crosscorr_v2: changed the format of metadata log, make it easier to parse
Fr.c: PyArray_ITEMSIZE returns bytes, not bits
This patch changes the PhenomP code in two ways:

As pointed out by Alejandro:

- It fixes a typo in the rotation matrix used in the function
  XLALSimIMRPhenomPCalculateModelParameters to compute the internal
parameter alpha0 from the spin components provided by the user. Note
that defining alpha0 amounts to performing a global rotation around the
total angular momentum of the system so it is a free parameter in the
intrinsic description of the PhenomP model (it redefines the origin of
the azimuthal angle phi in the frame where J is z). For the purpose of
interfacing the model with ChooseFDwaveform which requires 6 spin
components, these components are used to fix alpha0 but the previous
implementation resulted in a parametrization of alpha0 in terms of these
components which was very unnatural due to the typo.

- It replaces Taylor expanded expressions for the cos and sin of the
  inclination angle in the function WignerdCoefficients by non expanded
versions. This will barely affect the waveform inside the calibration
range of the model but the previous expanded expressions led to
divergencies in the waveform (pointed out by Salvatore Vitale) in some
regions of parameter space that are way outside of the calibration range
but that one could still be interested in probing (or not avoiding) for
instance with PE codes.

- Also updated the unit tests in test/PhenomPTest.c to agree with the
  current code.
lalinference_pipe.py: Add check for --run-path option
Added some more options to lalinference_pipe_example
LALInferenceReadData.c: Fix InjectFD so that it can work with margtime likelihood
LALInferenceNestedSampler.c: Change progress display so it doesn't use
decibels
pulsar_crosscorr_v2: slightly changed the format of log file, make it easier to parse
lalapps_run_sqlite:  fix filetype detection on SL6
pulsar_crosscorr_v2: modified the output in log file added number of template in each direction and total number of template.
LALInferenceNestedSampler: Display some more useful progress information
use correct format specifiers, fixes build
cbcBayesPostProc.py: Catch numpy exception when KDE is singular
Fix numpy name in bayespputils