Added support for PHP files and Twig templates

Hi,

as I work with PHP and Twig and I want to use it with grunt-wiredep, I thought it's the best to add support for .php and .twig files.

Cheers
Thorsten
So these are the only lines you changed that weren't tests, correct?