router: Support wildcard routes, up to 5 levels deep.

Resolves #279. We should probably add a note to the README about it.