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