Fix verification bug and add function documentation

Fixed a verification bug that caused the shoal server to neglect already verified
squids when running the periodic verification to reverify squids every hour.
Added comments for the verification functuons in utilities.py