added initial support (javascript and API endpoints) for committing pledges and commit new merit requests