Created Unit tests for getRoutesByName with defined idPrefix.
Fixed getRoutesByName to work if $idPrefix is not defined.
Added Tests to cover those cases.
Fixed getRoutesByNames so that if the $idPrefix is not set, it bypasses the foreach loop.
 Removed the .idea file from .gitignore
 Added Back the missing getRoutesByNames skipped test.
Fixed Code Style errors.
Fix notes per dbu and WoutenJ
Merge pull request #189 from cdwlighting/optimize_get_route_by_name

Created Unit tests for getRoutesByName with defined idPrefix.