submit request-pages form using actions provided from API

This PR includes updates to both the javascript and the ruby API client; so be sure to run bundle update / bundle install.