Exclude non-PHP files from styleguide

The styleguide incorrectly searches for all files in the patterns folder when generating its display. As a result, binary files (like the .DS_Store files) are included, causing garbage on the page.

This pull request adds a filter so that only .php files are included in the styleguide display