Search for files recursively when input is a directory

Fixes #78.
Merge pull request #79 from imagemin/recursive

Search for files recursively when input is a directory