Fix url_for when there is a version prefix.

url_for() requires a whole version component instead of an extracted version number part as :version parameter.

Currently there seems to be no test/spec for this, so I'm only submitting the fix.
Merge pull request #89 from knu/patch-1

Fix url_for when there is a version prefix.