Idea: store some of snapshots in MG events to lower memory usage and state squashing time.
Naive legacy events migration included.
Lots of ad-hocs included too.
Also:
* remove ability to set cash size in elements
* remove unnecessary calls to old repository
* remove obvious lager messages
* fix strange dialyzer warning
* rework events
* remove redundant cache checks
* remove redundant cache put
* bumped damsel and other deps
set log level in tests to ‘warning’
* fixed Jenkinsfile to store multiclaims images
* HG-219: Bump to upstream rbkmoney/damsel@b665c89
* HG-192: Properly marshal error reasons (#42)
* DC-34: fixed checkout with empty cache
* fixed checkout head() not putting snapshot into cache
* fixed snapshot flying around from dominant to machinegun
* use cache on apply_commit in process callback instead of woody_handler
* removed circular dependency between dmt_api_repository & dmt_api
* HG-155: Switch to msgpack-like machinegun interface
* HG-155: Bump deps up and move onto Erlang 19
* HG-155: Make the release rebar-runnable
* HG-155: Fix marshalling to and from msgpack
* HG-155: Bump to rbkmoney/woody_erlang@2f264f9
* HG-155: Add forgotten msgpack-thrift protocol
* HG-155: Make dialyzer happy again
* HG-155: Make repository machine versioned
* Migrate legacy history upon machine init
* Introduce automaton client to reduce boilerplate
* Remove `get_commit` facility as it was unused
* HG-155: Add repository dispatcher + add migration tests
* HG-155: Move in-memory thrift encoding into dedicated module
* HG-155: Use plain thrift binary as it is much simpler to work with
* HG-155: Switch back to msgpack-based commit representaion
* HG-155: Remove meaningless repair signal handling in favor of simple repair
* HG-155: Add forgotten behaviour annotations
* HG-155: Mention better approach with a migrating repository backend
* HG-155: Make dialyzer happy again
* HG-155: Bump to rbkmoney/damsel@d0c4a06, rbkmoney/machinegun@e04e529
* HG-155: Make elvis happy
* HG-155: Fix make target and Jenkinsfile
* split dominant to three repos
* fix submodule name
* new jenkins
* fix wc_release
* fix trailing space
* fix permissions
* fix path in dockerfile
* fix cmd
* fix release
* fix mg api
* fix the rest
* update dmt_core
* MG-16: Migrate to the new machinegun proto
* Fix some bugs involving cold cache access
* Harden the test suite
* Ensure proper woody context flow
* MG-16: Fix dialyzer warnings
* MG-16: Attempt to hack around docker-compose network connectivity quirks
* MG-16: Remove unused files
* MG-16: Mention potential race condition in the TODO list