Decode path before recognizing.

This fixes the routing issue described in emberjs/ember.js#4152