codemonitors: clean up GetMonitor
Created by: camdencheek
This:
- Renames
MonitorByIDInt64
toGetMonitor
- Pulls
scanMonitor
out ofscanMonitors
- Converts
GetMonitor
to useQueryRow
rather thanQuery
to avoid lots of extra logic - Converts
GetMonitor
to usemonitorColumns
to keep the query in sync with the scanner - Adds comments