Added a casting toString method to Event.java to help debugging etc
Made sure List wasn't empty before calling it's zero-eth element in lastEntryAt method of Java driver
Fixed a logic error in LAST_ENTRY_AT query of cake_query module
Merge remote-tracking branch 'upstream/master' into EventObjecttoString
Merge pull request #11 from AlexandreBeaulne/EventObjecttoString

Added toString method to Event.java, caught a edge case in lastEntryAt query
Fixed file handle leak.
Merge remote-tracking branch 'upstream/master' into file_write_delay