Handle different event formats and send timestamp in loggly format

So far have seen two different formats of the event and tags objects as sent through by the plug-ins.  This version extracts both formats into a normalised structure. 

Also  prepares dates in format that Loggly will use as it's log recorded time.