Adding default rules for the profiler
Testing no rules are added when profiler is disabled
CompilerPass add in the bundle build

- Test is now compatible with phpunit 3.7
- Fixed configuration expectation errors
added failing test case for uninflected resource
corrected head comment
adjusted tests
implemented new adding of routes
create multiple route only when resource is not inflectable
Merge pull request #761 from danrot/media_controller_issue

added failing test case for uninflected resource
Merge branch '652-format-listener-rules-for-profiler' of github.com:egulias/FOSRestBundle into egulias-652-format-listener-rules-for-profiler
use parameters to get the bundle configs
Merge pull request #775 from FriendsOfSymfony/egulias-652-format-listener-rules-for-profiler

Egulias 652 format listener rules for profiler
make sure rules are added even if web profiler is not registered at all
added failing test for double prefixes
cloned route for registration with second route name
simplified test
Merge pull request #781 from danrot/bugfix/double_prefix

added failing test for double prefixes
Fixed code style
Merge pull request #782 from florianv/code-style

Fixed code style
Merge remote-tracking branch 'FOS/master'