hack to allow trailing slashes on urls

Hi

I wanted to make RESTAS ignore trailing slashes but couldn't see a way to do this without modifying your code.  So here's a very dumb hack that adds this feature.  Hope I haven't missed some simple thing here that would let me achieve the same without the hack!