Small refactoring having php5-fpm required when nginx should be installed

In theorie it was possible that the formatted PHP modules included duplicates. The PHP configration contains only uniques now. Besides I have refactored a little bit the php5-fpm package requirement when nginx should be installed.
I extended the tests accordingly (and as a  side effect I fixed the listing in the coverage report).