Move gzip processing to generic handler
Make post-single CAS entry work
Tweak test format, implement & test cas lookup, add GET json handling