Fixed rebinning methods
Fixed rebinning methods

change_domain() function now passes extra parameter which is **self.__dict__ of processed curve to Curve.__new__ method. 
Metadata is no longer lost when using rebinning methods.
ant6/beprof,ant6/beprof,DataMedSci/beprof,grzanka/beprof,DataMedSci/beprof