Release V525

(SVN revision 579.)
All
    Report emails are sent using mail. Program sendreport is no longer used. (N.B. Server must have an MTA of some sort.)
config
    Added field report_email for email address to which reports should be sent.
cifdb
    Highlight any database errors in reports.
stompy
    Improved wording of some log messages.
    Select timeout in shutdown mode changed to 0x40000 us vice 1 s. (~1/4 second)
    Bug: During a prolonged controlled shutdown, it tried to reconnect to the stomp stream.
    Delete command file if it exists on startup.
    Handle an unexpected NULL frame in response to CONNECT.
    Restructure of stomp_read().
vstpdb
    Reduce recording of "normal" events in the log file.
trustdb
    Bug: When checking a deduced activation for already having been activated, uses time now, should be time of movement.
    Bug: When searching for activation to match a movement, uses time now, should be time of movement.
    Note: the two above bugs are only triggered for "Late" movement messages, which can come in up to a week after the actual event.
liverail
    On turning on auto-refresh, set count to near the end of the range so that a refresh comes quickly.
    Bug: VSTP services loaded on day of operation may not be shown in displays.
    Bug: If train details screen is reached directly from Advanced Search (Because only one match was found.) the Show Real Time Data button doesn't work.
    Log file is only created in debug mode.