Fix for rake task for namespaces and mounted engines

This should fix both issue #6 and #7 allowing support for routes files with namespaces and mounted engines.