Ensure default values are included in explicit routes

Address the issue identified in
http://stackoverflow.com/q/15650973/246811 where routes would not be
matched when default values of primitive types were used.

Added a unit test to reflect the expected behaviour.