Add test for double format values

bug #4347

Signed-off-by: Michal Čihař <michal@cihar.com>
Fixed PHP Parse error in Advisor

There is one rule which needs to pass more values to format string and
the code did not properly handle this. Now evaluating params and passing
them to vsprintf to process the format string.

Signed-off-by: Michal Čihař <michal@cihar.com>