Update xhr_url_for.rb

Allow url_for to still be called with no parameters, just like the one we're overriding.
Merge pull request #339 from larspind/patch-1

Allow url_for to still be called with no parameters