Add view system for API JSON responses.

Uses custom view model, strategy, and renderer to render API response
content as JSON, and to convert API response statuses to HTTP codes.