Pulling sites from database. Refactored getPlot to take a psycopg2 currsor. The DB connection is now maintained in viwes.py
Removed debug output from getPlot()