[web] Set response status to 400 when appropriate in ajax controller
When this is clearly a client error, set status to 400. Otherwise, keep the
default value for RemoteCallFailed (status=500).
:mod:`cubicweb.pyramid`
=======================
.. automodule:: cubicweb.pyramid
.. autofunction:: wsgi_application_from_cwconfig
.. autofunction:: wsgi_application
.. toctree::
:maxdepth: 1
:glob:
pyramid/*