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
server-side calls and request-pages implementation
request-pages now working
integrate changes from Joel Helbling
tabs to spaces
remove debugger call
added support for delete and post actions to library
merge from upstream