Add extra error logging / configurability

 - Fix bug with initiation of scanner for missing variable
 - Add logging and error handling to make future debugging easier
 - Making timing between scans configurable
 - Standardize on 'time' objects for start times and intervals
 - Fix bug from last commit which caused oid timestamps to be overwritten
   instead of updated
 - move from forced save of mongo data to upsert / update when possible