httphelper: Standardize response JSON for errors
httphelper: Standardize response JSON for errors

refs #744, #322

All errors respond with `code`, `message`, and optionally `details`

Signed-off-by: Jesse Stuart <a5c95b3d7cb4d0ae05a15c79c79ab458dc2c8f9e@jessestuart.ca>

schatt/flynn,ozum/flynn,rikur/flynn,benbjohnson/flynn,pkdevbox/flynn,flynn/flynn,arekkas/flynn,philiplb/flynn,josephglanville/flynn,TribeMedia/flynn,pkdevbox/flynn,flynn/flynn,technosophos/flynn,lmars/flynn,tonicbupt/flynn,kgrz/flynn,rikur/flynn,Brandywine2161/flynn,pkdevbox/flynn,Brandywine2161/flynn,GrimDerp/flynn,josephglanville/flynn,supermario/flynn,TribeMedia/flynn,tonicbupt/flynn,whouses/flynn,kgrz/flynn,ozum/flynn,shads196770/flynn,schatt/flynn,lmars/flynn,flynn/flynn,technosophos/flynn,benbjohnson/flynn,josephglanville/flynn,whouses/flynn,technosophos/flynn,rikur/flynn,arekkas/flynn,schatt/flynn,kgrz/flynn,technosophos/flynn,justintung/flynn,supermario/flynn,felixrieseberg/flynn,pkdevbox/flynn,whouses/flynn,philiplb/flynn,clifff/flynn,felixrieseberg/flynn,supermario/flynn,justintung/flynn,TribeMedia/flynn,Brandywine2161/flynn,lmars/flynn,Brandywine2161/flynn,benbjohnson/flynn,kgrz/flynn,clifff/flynn,TribeMedia/flynn,justintung/flynn,GrimDerp/flynn,Brandywine2161/flynn,supermario/flynn,lmars/flynn,schatt/flynn,philiplb/flynn,benbjohnson/flynn,Brandywine2161/flynn,supermario/flynn,tonicbupt/flynn,GrimDerp/flynn,supermario/flynn,shads196770/flynn,rikur/flynn,kgrz/flynn,justintung/flynn,TribeMedia/flynn,whouses/flynn,arekkas/flynn,benbjohnson/flynn,rikur/flynn,justintung/flynn,ozum/flynn,josephglanville/flynn,flynn/flynn,shads196770/flynn,jzila/flynn,GrimDerp/flynn,GrimDerp/flynn,jzila/flynn,shads196770/flynn,felixrieseberg/flynn,benbjohnson/flynn,ozum/flynn,clifff/flynn,pkdevbox/flynn,shads196770/flynn,ozum/flynn,ozum/flynn,tonicbupt/flynn,jzila/flynn,rikur/flynn,justintung/flynn,GrimDerp/flynn,philiplb/flynn,felixrieseberg/flynn,TribeMedia/flynn,jzila/flynn,josephglanville/flynn,schatt/flynn,pkdevbox/flynn,flynn/flynn,arekkas/flynn,tonicbupt/flynn,clifff/flynn,shads196770/flynn,technosophos/flynn,lmars/flynn,whouses/flynn,clifff/flynn,philiplb/flynn,jzila/flynn,josephglanville/flynn,jzila/flynn,arekkas/flynn,whouses/flynn,schatt/flynn,felixrieseberg/flynn,clifff/flynn,kgrz/flynn