Make pages#show respond to JSON and AJAX requests.

Add custom mime type (plain_html) to request DOM from endpoint without layout.