Take Hash with options inside Array in #url_for

The main idea of this pull request is:

We can write:

    polymorphic_path([:edit, @post], author_id: current_user.id)

But if we use `#url_for` or `#link_to` (or something else that uses `#url_for`), we cannot use this awesome Array-style syntax, so there is no way to pass this `author_id` param.

With this commit we can do something like this:

    = link_to 'Edit', [:edit, @post, { author_id: current_user.id }]

Without it we still have to write one of these lines:

    = link_to 'Edit', polymorphic_path([:edit, @post], { author_id: current_user.id })
    = link_to 'Edit', edit_post_path(@post, author_id: current_user.id)