More refactoring of the router.

Now automatically tries to use a _post version of an action, if
available.