Add keyvalue in settings.py.dist

It should have been there long ago, it was omitted by error
Avoid a south bug in hwdoc migration 0007

Turns out that south pre 0.8 had a bug when renaming columns in mysql.
That is upstream bug #1186. Monkey patching south in that specific
migration and for south versions less than 0.8 solves this successfully.
Tested on mysql 5.5 on Debian wheezy and sqlite 3.7.13

This closes #48
Update query.html

A stray "<".
Merge pull request #56 from alexkiousis/patch-1

Fix a stray < character in puppet/templates/query.html
Updates to Apache wsgi file

 * check if _app_path is already in sys.path before appending it

 * switch to maintenance mode when Apache is reloaded and
   _maint_mode == True

 * abstract _app_path and _maint_mode to top of code and label it for
   editing

 * label _maint_file at top of maintenance-specific code for editing (if a
   custom page is being used)

 * in non-maintenance mode there is a _tiny_ added cost of one
   var-assignment and one if-branch during server reload/restart, but
   actual requests have no extra overhead (the "application" function is
   unchanged)

 * update copyright year, and s/ISC/THE AUTHOR/ in copyright notice

 * add commented-out (non-default) version to dynamically handle
   maintenance page changes without server-reloading (but doesn't use
   inotify/etc because doing it portably without sourcing Django libs adds
   too much complexity to be worth it) - for speed-reasons, it uses global
   vars instead of arg-passing