fix various bugs and include avgT in output file
1 Oct feature
* code cleanups
* add to iem app database
* download shapefile link should limit to SBW
* add totals
* correct totalling of values