Code from branch 'api_quality'. Adds fitting of the pulseheight
distribution. This is called from jobs.py.
Changed output directory of the fit result.
Initial draft of deployment instructions
uWSGI: use a master process
Improve Django 1.5 support

Replace removed django.conf.urls.defaults by django.conf.urls
Also make the imports more specific
Switch from deprecated direct_to_template to TemplateView
Update settings.py for Django 1.5
HttpResponse with an iterator is deprecated in Django 1.5

Instead use StreamingHttpResponse, works almost identical.

Remove unused import from inforecords admin
Disable buggy pulseheight fit for now
Updated uwsgi-example.ini
Cleanup fit pulseheight peak

Remove unused imports
PEP8 styling
Use logger instead of prints
Remove plots
Use interger ADC count (phMax)
Close data file when done
Assume correct data file structure
Get cluster name from inforecords
Corrected a comment for ALLOWED_HOSTS
Added PulseheightFit model.
Changed pulseheight mpv fitting. Saves result into PulseheightFit model.
Changed retrieval of fit values. Get values from PulseheightFit model.
Merge from branch 'master'
Added __init__.py file.
Added nagios check_pulseheight_mpv plugin.
Merge remote branch 'origin/api_quality' into api_quality

Conflicts:
	django_publicdb/api/views.py
	django_publicdb/histograms/fit_pulseheight_peak.py
Moved code to branch 'api_quality_nagios'.
Code for Nagios monitoring of pulseheight mpv moved to its own feature
branch. This allows simple merging between master and this branch,
instead of checking out specific files from this branch to master.