Reset params object with each attempted route match.

I first came across this by iterating through my definitions list using a while(i--). The params object ends up accumulating params from every possible route match that didn't match the final route. This leads to unexpected results. I've updated them the for loop to simply reset the params object at the beginning of each pass to ensure it's clean for the next pass.