Store ajax routes in declaration order.

Ajax routes were being unshifted to the beginning of routes, causing the
last declared ajax route to be tried first.  If that last route is a
default route (ajax qr{.*} => sub ...), then none of the earlier ajax
routes will match.