Modified database schema for frequent locations to better support
flagging events as from anomalous times and places.
fixed problem in database schema dump to avoid permissions issue.