Only include .php detector files and give sieve script name to detector

Hi,

When I was editing a custom detector, sieverules tried to include vi's swap file.
We have multiple sieve scripts per user and would need the name of the sieve script in addition to the content.

Bests,

Bram