fix the RoutingLoader to be compatible with PHP < 5.3.6
improve the code of getFullBundleNameFromResource method.
foreach element seems to be useless
[FIX] code formatting
fix missing parenthesis
[FIX] code formatting for scrutinizer
remove whitespace for scrutinizer
Merge pull request #544 from thibmonier/master

fix the RoutingLoader to be compatible with PHP < 5.3.6