Allow to debug ajax queries

Simulate an Ajax query if method contain "ajax:" or ":ajax".