Add new parameter 'check_format'

We use trailing / in many of our routes.  Added an optional parameter check_format to allow us to turn of the trimming of the / in the setUri (and also for the router annotations).