Allow access to app_dev.php whith PHP's dev webserver
Fix #650: Revert profiler security rules
bug #651 Fix #650: Revert profiler security rules (romainneutron)

This PR was merged into the 2.4-dev branch.

Discussion
----------

Fix #650: Revert profiler security rules

Commits
-------

ab9f87b Fix #650: Revert profiler security rules
bug #647 Allow access to app_dev.php whith PHP's dev webserver (mnapoli)

This PR was merged into the 2.4-dev branch.

Discussion
----------

Allow access to app_dev.php whith PHP's dev webserver

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

If you use Vagrant, you can use PHP's built-in webserver like so:

```
app/console server:run 0.0.0.0:8000
```

With Vagrant port-forwarding you can access the application at http://localhost:8000/. The `0.0.0.0:8000` makes PHP listen to IP addresses other than 127.0.0.1.

However `app_dev.php` will forbid access to any IP other than `127.0.0.1`, which makes it unusable.

This is a simple fix to allow access to `app_dev.php` when running on PHP's built-in webserver.

Commits
-------

e7a14a3 Allow access to app_dev.php whith PHP's dev webserver
Rename hookInstallAcmeDemoBundle to hookRootPackageInstall
Add new directory structure hook