Added buffered logging, event pattern

Updated logging function to buffer up to 10 network records before
actually sending to logging script. Send can also be triggered
immediately when a site is complete or as otherwise needed.
Finished setting up the sequence of emulated events to allow for
identification of patterns in corresponding network traffic data. Time
on page is divided into 3 parts. 1st part is sending events, 2nd part is
a pause, 3rd part sends events again.
Updated for buffered logging

Accepts requests containing multiple network records. Splits and logs
them as appropriate in DB.