Add TradeStore and ReferenceDataStore

+
Remove CalendarStore
Move some tests to EventStoreTests
Refactor JsonProtocols
Add ReferenceDataTrait
Prevent storing of duplicates in EventStore
There's a race condition between latestVersions being accessed here and it updated below. Should write block on the last write request? Otherwise multiple writes before a read can cause trouble. I think.