cayley 0.3.1

Updated formula.

* changed two dependencies
* switched to quad format
* updated test to use `memstore`
* release notes: https://github.com/google/cayley/releases/tag/v0.3.1