Added trailing_slash argument to routers.  Closes #905