Added timestamp to events.

Updated tests with new method that checks whether two JSON objects are the same. It currently ignores the "timestamp field"
extracted timestamp insertion to method
The ClientRecordTest now tests for timestamps as well.

Implemented it by checking that the expected JSON timestamp is under less than one second older than the actual JSON
Merge pull request #21 from cdmihai/timestamp

Events now have timestamps