Collapsed getFilenameArray and filterFilenameArray into one method.

"get" was already doing rudimentary filtering, adding the type filter added one line to it.
Prepping for travis

Adding in the yml file and the default phpunit.xml file for it's use.