[ajax] improve backward compatibility for redefined ajax functions (closes #2447189)
If an ajax function from stdlib (e.g. js_reledit_form) was redefined in a cube,
the cube version should still takes the precedence<
=> check for existing ajax function on deprecated controller _before_ checking
ajax function availability on the new one.
include *.py
include */*.py
recursive-include data *.gif *.png *.ico *.css *.js
recursive-include i18n *.po
recursive-include wdoc *