Add api_form service configs for mongodb and phpcr

Currently api_form.xml services config works only for doctrine_orm. This PR adds support for mongodb and phpcr