Add new DataAxis.value_range_to_indices method. Add tests for it and the estimate_parameters method of the four components and fix bugs discovered on the way.
Automatic style corrections courtesy of autopep8.
BUG-FIX: Model.as_signal was not conserving metadata.Signal.binned.
BUG-FIX: remove_background was broken for binned signals.