Added support for routes other than sfDoctrineRoute.
Explanation of what needs to be changed in the code in some unusall
cases.