post request_pages via ajax call

The API returns json, often a subsequent form, so posting with an
ajax call allows us to render one form after another without un-needed
requests interstitially.
Merge pull request #24 from joelhelbling/ajax_form

post request_pages via ajax call