Added configuration to enable profiler in test
feature #2952 Enabling profiler in test (danieledangeli)

This PR was merged into the master branch.

Discussion
----------

Enabling profiler in test

| Q             | A
| ------------- | ---
| Doc fix?   | yes
| New docs?  | no
| Applies to  |  2.3
| Fixed tickets | no

Some people have open issues about how enabling the profiler in test enviroment. The option ``enable profiler`` working correctly but some people don't want enabling the data collecting in each tests. So you can define in "config_test.yml" the collect parameter to false. The data will collect only in tests that call
$client->enableProfiler();

Commits
-------

d03f39d Added configuration to enable profiler in test