Fix urlFor and routes with optional URL segments
Fix urlFor and routes with optional URL segments

joelgarciajr84/Slim,jenalgit/Slim,pine3ree/Slim,dkarvounaris/Slim,JoeBengalen/Slim,xiuchanghu/Slim,dopesong/Slim,Vinniefern99/Slim,tanuck/Slim,foxyantho/Slim,moufmouf/Slim,mnapoli/Slim,Sam-Burns/Slim,iinux/Slim,iinux/Slim,gabriel403/Slim,matheusgomes17/Slim,pedro2555/Slim,nslod/Slim,lmcro/Slim,kanellov/Slim,fredemmott/Slim,umiyosh/SlimDocDemo,1nv4d3r5/Slim,FraGoTe/Slim,feryardiant/slim,huang53798584/Slim,cesarmarinhorj/Slim,bact197736/Slim,RealSelf/Slim,epd/backbone-rest-boilerplate,akrabat/Slim,szulilin/Slim,jaapverloop/Slim,tempbottle/Slim,anuradhaedirisuriya/Slim,zither/Slim,asaokamei/Slim,taohaolong/Slim,julianromera/Slim,AI0day/slim,silentworks/Slim,andresvidal/Slim,kutanari/Slim,prashantquestionpro/Slim,danielgsims/Slim,epd/backbone-rest-boilerplate,umiyosh/SlimDocDemo,lekoaf/Slim,makelivedotnet/Slim,ColourboxDevelopment/Slim,mmauri04/Slim,EhteshamMehmood/Slim,jeremykendall/Slim,gencer/Slim,designermonkey/Slim,swantrace/Slim-1,beealone/Slim,iinux/Slim,slimphp/Slim,xMolchy/Slim,lcp0578/Slim,somjit2514/basic,lornajane/Slim,Alex2147483647/Slim,shameerc/Slim,samsonasik/Slim,geggleto/Slim,greevex/Slim,juliangut/Slim,opengeek/Slim,abfadel/Slim,chezzy/Slim,luizdeangeli/Slim,fsciuti/Slim,AndrewCarterUK/Slim