support for new JSONAPI gateway.

This should be OK to merge, once https://github.com/flpjck/flapjack/tree/jsonapi is merged and released. We'll need a version bump and instructions for people using the old API to lock their gem version as well.