Better handling of lane-local transaction history:
* Model provides an update to replace the view "localtranstoday"
  with a table.
* The localtranstoday table is better indexed.
* Database::getransno() automatically trims either localtranstoday
  or localtrans_today on when a cashier first logs in. It checks
  whether localtranstoday is a table or view so this should work
  with or without schema changes.
* Queries on localtranstoday now include a DATEDIFF statement in
  the WHERE clause. This is just an extra precaution in case
  the table hasn't been trimmed somehow.