added groupby for latest by jobs for both deployment and mock
allowed for faster latest plots by not pinging the database for each job and now using patrick's changes to only ping it once. changed mock.py for personal testing and changed serve to actually serve the correct data now. influx.py was changed very slightly to make it so that certain tuples were converted into lists