Reordered routing declarations

Requests to "/rpc/download.zip" were matched and routed to
"/rpc/download(*path)" rule. Reordered routing decls to solve
this problem as well as "upload" and "upload_via_flash".