adds ability to filter analyzed paths

I've implemented the same algorithm that is used on Scrutinizer which is very flexible:
https://scrutinizer-ci.com/docs/configuration#analyzed-files-file-filter