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
You don't need to change these, the bot will do it for you.