[FrameworkBundle] Place initialization of $bundlesDir out of foreach loop

Code enhancement. $bundlesDir variable doesnt't need any bundle information for initialization. So it must be placed out of the loop to not process unnecessary operations.
updated VERSION for 2.3.0-BETA1
bumped Symfony version to 2.3.0-DEV-DEV
[Debug] tweak for #6474
merged branch bamarni/patch-1 (PR #7895)

This PR was merged into the master branch.

Discussion
----------

[Debug] tweak for #6474

This keeps the previous behavior as described in the comment.

Commits
-------

7d67b5b [Debug] tweak for #6474
merged branch alexpods/patch-1 (PR #7891)

This PR was merged into the master branch.

Discussion
----------

[FrameworkBundle] Place initialization of $bundlesDir out of the foreach loop.

Code enhancement. $bundlesDir variable doesn't need any bundle information for initialization. So it must be placed out of the loop to not process unnecessary operations.

Commits
-------

9cca065 [FrameworkBundle] Place initialization of $bundlesDir out of foreach loop