Fixed setCurrentUri() in buildSideMenu()
Fixed setCurrentUri() in buildSideMenu()

With this fix, the active side menu item is shown correctly even if

* the script name is in the URI (e.g., app_dev.php),
* the script directory is below the web root (e.g., /backend/) and
* the URI contains parameters (e.g., ?param1=value&param2=value).
mgdigital/SonataAdminBundle,peter-gribanov/SonataAdminBundle,rmzamora/SonataAdminBundle,ejkun/SonataAdminBundle,Th3Mouk/SonataAdminBundle,cmacetko/SonataAdminBundle,gnorby88/SonataAdminBundle,amine2z/SonataAdminBundle,jlamur/SonataAdminBundle,morfin60/SonataAdminBundle,ellementA/SonataAdminBundle,jlamur/SonataAdminBundle,ruscon/SonataAdminBundle,ejkun/SonataAdminBundle,joshlopes/SonataAdminBundle,peter-gribanov/SonataAdminBundle,OskarStark/SonataAdminBundle,lutangar/SonataAdminBundle,goldbroker/SonataAdminBundle,mweimerskirch/SonataAdminBundle,gnorby88/SonataAdminBundle,dankempster/SonataAdminBundle,greg0ire/SonataAdminBundle,ryanhughes/SonataAdminBundle,arbislimen/SonataAdminBundle,jordisala1991/SonataAdminBundle,fosvn/SonataAdminBundle,jordisala1991/SonataAdminBundle,claudusd/SonataAdminBundle,lutangar/SonataAdminBundle,ju1ius/SonataAdminBundle,mikemeier/SonataAdminBundle,ksom/SonataAdminBundle,binhle410/SonataAdminBundle,jordisala1991/SonataAdminBundle,digitalkaoz/SonataAdminBundle,tskorupka/SonataAdminBundle,gRoussac/SonataAdminBundle,edouardkombo/SonataAdminBundle,core23/SonataAdminBundle,mweimerskirch/SonataAdminBundle,peter-gribanov/SonataAdminBundle,ksom/SonataAdminBundle,mgdigital/SonataAdminBundle,joshlopes/SonataAdminBundle,fosvn/SonataAdminBundle,ryanhughes/SonataAdminBundle,mohebifar/SonataAdminBundle,ARTACK/SonataAdminBundle,tskorupka/SonataAdminBundle,nexylan/SonataAdminBundle,rschumacher/SonataAdminBundle,ksom/SonataAdminBundle,ARTACK/SonataAdminBundle,mweimerskirch/SonataAdminBundle,jszmidt/SonataAdminBundle,mgdigital/SonataAdminBundle,greg0ire/SonataAdminBundle,j-ledoux/SonataAdminBundle,ossinkine/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,j-ledoux/SonataAdminBundle,ryanhughes/SonataAdminBundle,Koc/SonataAdminBundle,edouardkombo/SonataAdminBundle,qsomazzi/SonataAdminBundle,arbislimen/SonataAdminBundle,ossinkine/SonataAdminBundle,dmarkowicz/SonataAdminBundle,robhunt3r/SonataAdminBundle,0mars/SonataAdminBundle,cmacetko/SonataAdminBundle,dmarkowicz/SonataAdminBundle,OskarStark/SonataAdminBundle,ksom/SonataAdminBundle,jakublech/SonataAdminBundle,digitalkaoz/SonataAdminBundle,Koc/SonataAdminBundle,arbislimen/SonataAdminBundle,ejkun/SonataAdminBundle,j-ledoux/SonataAdminBundle,news-life-media/SonataAdminBundle,tskorupka/SonataAdminBundle,0mars/SonataAdminBundle,dmarkowicz/SonataAdminBundle,claudusd/SonataAdminBundle,edouardkombo/SonataAdminBundle,tim96/SonataAdminBundle,rschumacher/SonataAdminBundle,andythorne/SonataAdminBundle,andythorne/SonataAdminBundle,morfin60/SonataAdminBundle,jakublech/SonataAdminBundle,Koc/SonataAdminBundle,lightglitch/SonataAdminBundle,ossinkine/SonataAdminBundle,ellementA/SonataAdminBundle,idchlife/SonataAdminBundle,tunne/SonataAdminBundle,nexylan/SonataAdminBundle,joshlopes/SonataAdminBundle,jszmidt/SonataAdminBundle,rmzamora/SonataAdminBundle,Storke/SonataAdminBundle,ruscon/SonataAdminBundle,mohebifar/SonataAdminBundle,greg0ire/SonataAdminBundle,ellementA/SonataAdminBundle,tim96/SonataAdminBundle,ARTACK/SonataAdminBundle,mikemeier/SonataAdminBundle,dmarkowicz/SonataAdminBundle,morgangiraud/SonataAdminBundle,Denniskevin/SonataAdminBundle,news-life-media/SonataAdminBundle,ju1ius/SonataAdminBundle,lightglitch/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,jordisala1991/SonataAdminBundle,vincenttouzet/SonataAdminBundle,jszmidt/SonataAdminBundle,Denniskevin/SonataAdminBundle,tunne/SonataAdminBundle,gRoussac/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,qsomazzi/SonataAdminBundle,nexylan/SonataAdminBundle,tskorupka/SonataAdminBundle,news-life-media/SonataAdminBundle,idchlife/SonataAdminBundle,ruscon/SonataAdminBundle,binhle410/SonataAdminBundle,vincenttouzet/SonataAdminBundle,OskarStark/SonataAdminBundle,Storke/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,digitalkaoz/SonataAdminBundle,Romashka/SonataAdminBundle,joshlopes/SonataAdminBundle,news-life-media/SonataAdminBundle,lightglitch/SonataAdminBundle,qsomazzi/SonataAdminBundle,Koc/SonataAdminBundle,morgangiraud/SonataAdminBundle,vincenttouzet/SonataAdminBundle,robhunt3r/SonataAdminBundle,amine2z/SonataAdminBundle,goldbroker/SonataAdminBundle,FabienD/SonataAdminBundle,Storke/SonataAdminBundle,mgdigital/SonataAdminBundle,morgangiraud/SonataAdminBundle,andythorne/SonataAdminBundle,amine2z/SonataAdminBundle,binhle410/SonataAdminBundle,osavchenko/SonataAdminBundle,jlamur/SonataAdminBundle,j-ledoux/SonataAdminBundle,Denniskevin/SonataAdminBundle,robhunt3r/SonataAdminBundle,binhle410/SonataAdminBundle,FabienD/SonataAdminBundle,0mars/SonataAdminBundle,morgangiraud/SonataAdminBundle,dankempster/SonataAdminBundle,claudusd/SonataAdminBundle,Th3Mouk/SonataAdminBundle,rswork/SonataAdminBundle,morfin60/SonataAdminBundle,core23/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,Romashka/SonataAdminBundle,fosvn/SonataAdminBundle,tunne/SonataAdminBundle,goldbroker/SonataAdminBundle,Romashka/SonataAdminBundle,jlamur/SonataAdminBundle,Storke/SonataAdminBundle,arbislimen/SonataAdminBundle,morfin60/SonataAdminBundle,digitalkaoz/SonataAdminBundle,osavchenko/SonataAdminBundle,osavchenko/SonataAdminBundle,claudusd/SonataAdminBundle,OskarStark/SonataAdminBundle,sonata-project/SonataAdminBundle,rswork/SonataAdminBundle,qsomazzi/SonataAdminBundle,core23/SonataAdminBundle,Armstrong1992/SonataAdminBundle,vincenttouzet/SonataAdminBundle,0mars/SonataAdminBundle,gnorby88/SonataAdminBundle,jlamur/SonataAdminBundle,dankempster/SonataAdminBundle,mohebifar/SonataAdminBundle,lutangar/SonataAdminBundle,ellementA/SonataAdminBundle,tim96/SonataAdminBundle,andythorne/SonataAdminBundle,mikemeier/SonataAdminBundle,rswork/SonataAdminBundle,amine2z/SonataAdminBundle,ruscon/SonataAdminBundle,gRoussac/SonataAdminBundle,mohebifar/SonataAdminBundle,ARTACK/SonataAdminBundle,lightglitch/SonataAdminBundle,greg0ire/SonataAdminBundle,tunne/SonataAdminBundle,Denniskevin/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,ellementA/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,core23/SonataAdminBundle,Th3Mouk/SonataAdminBundle,idchlife/SonataAdminBundle,lutangar/SonataAdminBundle,osavchenko/SonataAdminBundle,mweimerskirch/SonataAdminBundle,news-life-media/SonataAdminBundle,goldbroker/SonataAdminBundle,rmzamora/SonataAdminBundle,jakublech/SonataAdminBundle,FabienD/SonataAdminBundle,Romashka/SonataAdminBundle,jszmidt/SonataAdminBundle,nexylan/SonataAdminBundle,gRoussac/SonataAdminBundle,rmzamora/SonataAdminBundle,dankempster/SonataAdminBundle,dmarkowicz/SonataAdminBundle,j-ledoux/SonataAdminBundle,fosvn/SonataAdminBundle,gnorby88/SonataAdminBundle,rswork/SonataAdminBundle,tim96/SonataAdminBundle,ju1ius/SonataAdminBundle,edouardkombo/SonataAdminBundle,Th3Mouk/SonataAdminBundle,robhunt3r/SonataAdminBundle,jakublech/SonataAdminBundle,ju1ius/SonataAdminBundle,ejkun/SonataAdminBundle,Armstrong1992/SonataAdminBundle,Romashka/SonataAdminBundle,morfin60/SonataAdminBundle,sonata-project/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,mikemeier/SonataAdminBundle,ejkun/SonataAdminBundle,idchlife/SonataAdminBundle,ossinkine/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,ryanhughes/SonataAdminBundle,rschumacher/SonataAdminBundle,osavchenko/SonataAdminBundle,binhle410/SonataAdminBundle,cmacetko/SonataAdminBundle,cmacetko/SonataAdminBundle,rschumacher/SonataAdminBundle,peter-gribanov/SonataAdminBundle,FabienD/SonataAdminBundle