Added PulseheightFit model and schema migration files.
Code from branch 'api_quality'.
Added support for PulseheightFit model.
Code from branch 'api_quality'. Includes other improvements.
Added support for PulseheightFit model in API.
Code from branch 'api_quality'. Includes other minor changes.