db logger updated for status messages

DB logger now accepts status messages from crawler. These are used to
flag the time boundaries of meaningful network data.
features and minor refactor for patterned events

Added: time on console logs, status messages to db log, event type for
choosing mouse move/click/keypress
Fixed: connection timeout changed to interval - checks once at
<CONNECTION_TIMEOUT> seconds if no activity (blank page = no connection
at all), if that is not true (it's started loading, but not finished),
it gives it 30 seconds again before killing it if still not finished
loading
Updated: started working on creating patterned  user interaction
simulation by breaking the event creation/sending out into a function.