REFACTOR: clean up of PageVisit model and creation code

- When a tab update is detected, a new PageVisit is created, with the
  created_at and updated_at values supplied at creation
- The PageVisit model's defaults don't get the current time, they are
  set to 0.