Refactor how assign_parameters sets generated_path & query_string_keys
Refactor how assign_parameters sets generated_path & query_string_keys

This is part of a larger refactoring on controller tests. We needed to
move these methods here so that we could get rid of the `|| key ==
:action || key == :controller` in `assign_parameters`. We know this is
ugly and intend to fix it but for now `generate_extras` needs to be used
in the two methods to access the path and the query_string_keys.

We're adding `:controller` and `:action` to the `query_string_keys`
because we always need a controller and action. If someone passed
`action` or `controller` in in there test they are unambigious - we
know they have to go into the query params.

esparta/rails,travisofthenorth/rails,esparta/rails,eileencodes/rails,assain/rails,mtsmfm/rails,ledestin/rails,rails/rails,tjschuck/rails,kmcphillips/rails,iainbeeston/rails,palkan/rails,88rabbit/newRails,illacceptanything/illacceptanything,sergey-alekseev/rails,maicher/rails,brchristian/rails,yasslab/railsguides.jp,pschambacher/rails,esparta/rails,kaspth/rails,Sen-Zhang/rails,gfvcastro/rails,kamipo/rails,rossta/rails,vipulnsward/rails,marklocklear/rails,lcreid/rails,aditya-kapoor/rails,printercu/rails,Stellenticket/rails,fabianoleittes/rails,tjschuck/rails,matrinox/rails,marklocklear/rails,coreyward/rails,Envek/rails,printercu/rails,odedniv/rails,kachick/rails,utilum/rails,elfassy/rails,arunagw/rails,mechanicles/rails,untidy-hair/rails,shioyama/rails,sergey-alekseev/rails,rafaelfranca/omg-rails,rbhitchcock/rails,yahonda/rails,betesh/rails,Spin42/rails,kirs/rails-1,brchristian/rails,shioyama/rails,stefanmb/rails,koic/rails,mtsmfm/rails,richseviora/rails,yawboakye/rails,repinel/rails,jeremy/rails,illacceptanything/illacceptanything,lucasmazza/rails,yhirano55/rails,yalab/rails,stefanmb/rails,xlymian/rails,starknx/rails,arjes/rails,bogdanvlviv/rails,ttanimichi/rails,Erol/rails,matrinox/rails,arunagw/rails,hanystudy/rails,MichaelSp/rails,88rabbit/newRails,mijoharas/rails,kddeisz/rails,georgeclaghorn/rails,odedniv/rails,pschambacher/rails,Erol/rails,elfassy/rails,mtsmfm/railstest,iainbeeston/rails,Stellenticket/rails,MSP-Greg/rails,bogdanvlviv/rails,ngpestelos/rails,baerjam/rails,Spin42/rails,georgeclaghorn/rails,amoody2108/TechForJustice,gauravtiwari/rails,utilum/rails,jeremy/rails,joonyou/rails,flanger001/rails,pvalena/rails,deraru/rails,maicher/rails,kmcphillips/rails,betesh/rails,repinel/rails,fabianoleittes/rails,EmmaB/rails-1,bogdanvlviv/rails,Edouard-chin/rails,MichaelSp/rails,riseshia/railsguides.kr,BlakeWilliams/rails,arunagw/rails,shioyama/rails,sealocal/rails,yalab/rails,tjschuck/rails,yasslab/railsguides.jp,travisofthenorth/rails,samphilipd/rails,illacceptanything/illacceptanything,gauravtiwari/rails,yasslab/railsguides.jp,EmmaB/rails-1,bogdanvlviv/rails,voray/rails,amoody2108/TechForJustice,rbhitchcock/rails,lcreid/rails,brchristian/rails,mijoharas/rails,vassilevsky/rails,tijwelch/rails,koic/rails,gfvcastro/rails,kmcphillips/rails,ledestin/rails,mohitnatoo/rails,Vasfed/rails,kachick/rails,richseviora/rails,aditya-kapoor/rails,felipecvo/rails,betesh/rails,repinel/rails,flanger001/rails,tgxworld/rails,Spin42/rails,flanger001/rails,fabianoleittes/rails,alecspopa/rails,illacceptanything/illacceptanything,vassilevsky/rails,mtsmfm/railstest,EmmaB/rails-1,yasslab/railsguides.jp,kirs/rails-1,deraru/rails,betesh/rails,mijoharas/rails,lucasmazza/rails,kamipo/rails,notapatch/rails,sergey-alekseev/rails,notapatch/rails,mechanicles/rails,baerjam/rails,bradleypriest/rails,kamipo/rails,eileencodes/rails,yawboakye/rails,rafaelfranca/omg-rails,yawboakye/rails,yalab/rails,bradleypriest/rails,Edouard-chin/rails,palkan/rails,Sen-Zhang/rails,illacceptanything/illacceptanything,tgxworld/rails,printercu/rails,illacceptanything/illacceptanything,esparta/rails,sealocal/rails,kenta-s/rails,riseshia/railsguides.kr,kddeisz/rails,ngpestelos/rails,assain/rails,schuetzm/rails,gavingmiller/rails,amoody2108/TechForJustice,Stellenticket/rails,joonyou/rails,Envek/rails,notapatch/rails,eileencodes/rails,coreyward/rails,rails/rails,ttanimichi/rails,koic/rails,Edouard-chin/rails,samphilipd/rails,illacceptanything/illacceptanything,aditya-kapoor/rails,jeremy/rails,utilum/rails,Edouard-chin/rails,Erol/rails,88rabbit/newRails,palkan/rails,palkan/rails,illacceptanything/illacceptanything,yahonda/rails,kirs/rails-1,yawboakye/rails,deraru/rails,hanystudy/rails,MSP-Greg/rails,repinel/rails,gavingmiller/rails,bolek/rails,vipulnsward/rails,tijwelch/rails,Envek/rails,Vasfed/rails,felipecvo/rails,illacceptanything/illacceptanything,schuetzm/rails,lcreid/rails,notapatch/rails,lcreid/rails,alecspopa/rails,marklocklear/rails,mtsmfm/railstest,mtsmfm/rails,xlymian/rails,bradleypriest/rails,gavingmiller/rails,vipulnsward/rails,schuetzm/rails,starknx/rails,pvalena/rails,Erol/rails,prathamesh-sonpatki/rails,mathieujobin/reduced-rails-for-travis,mechanicles/rails,Vasfed/rails,kddeisz/rails,kachick/rails,yahonda/rails,starknx/rails,gcourtemanche/rails,jeremy/rails,tjschuck/rails,utilum/rails,illacceptanything/illacceptanything,mathieujobin/reduced-rails-for-travis,stefanmb/rails,iainbeeston/rails,tijwelch/rails,mechanicles/rails,mohitnatoo/rails,georgeclaghorn/rails,iainbeeston/rails,MichaelSp/rails,samphilipd/rails,voray/rails,matrinox/rails,deraru/rails,prathamesh-sonpatki/rails,shioyama/rails,yhirano55/rails,elfassy/rails,rafaelfranca/omg-rails,assain/rails,vipulnsward/rails,kaspth/rails,illacceptanything/illacceptanything,maicher/rails,gfvcastro/rails,bolek/rails,assain/rails,illacceptanything/illacceptanything,mohitnatoo/rails,alecspopa/rails,pvalena/rails,riseshia/railsguides.kr,mathieujobin/reduced-rails-for-travis,baerjam/rails,voray/rails,sealocal/rails,eileencodes/rails,untidy-hair/rails,baerjam/rails,illacceptanything/illacceptanything,yhirano55/rails,arjes/rails,ngpestelos/rails,arjes/rails,kenta-s/rails,travisofthenorth/rails,untidy-hair/rails,travisofthenorth/rails,pvalena/rails,yhirano55/rails,vassilevsky/rails,kenta-s/rails,prathamesh-sonpatki/rails,BlakeWilliams/rails,felipecvo/rails,ledestin/rails,gfvcastro/rails,kmcphillips/rails,rbhitchcock/rails,Stellenticket/rails,xlymian/rails,joonyou/rails,Sen-Zhang/rails,BlakeWilliams/rails,riseshia/railsguides.kr,odedniv/rails,yahonda/rails,kaspth/rails,Vasfed/rails,MSP-Greg/rails,gcourtemanche/rails,kmayer/rails,georgeclaghorn/rails,kmayer/rails,schuetzm/rails,prathamesh-sonpatki/rails,rails/rails,kddeisz/rails,mohitnatoo/rails,arunagw/rails,BlakeWilliams/rails,joonyou/rails,flanger001/rails,ttanimichi/rails,tgxworld/rails,hanystudy/rails,yalab/rails,richseviora/rails,coreyward/rails,MSP-Greg/rails,gcourtemanche/rails,illacceptanything/illacceptanything,bolek/rails,untidy-hair/rails,gauravtiwari/rails,tgxworld/rails,lucasmazza/rails,aditya-kapoor/rails,rossta/rails,Envek/rails,rossta/rails,illacceptanything/illacceptanything,fabianoleittes/rails,rails/rails,printercu/rails,kmayer/rails,pschambacher/rails