sort_link_helper and cross-controller partials

For a similar sort of problem I extended sort_link_helper, allowing it
to accept a hash of options. I then used the options to override the
controller/action/etc as needed. If you use a signature like:

sort_link_helper(text, params, options={}) you won't have to change
the code anywhere else.