Search for files recursively when input is a directory

@sindresorhus, is this needed or is manually specifying `/**/*` better?

Fixes #78.
What if the input is `imagemin **/*`? It would result in `**/*/**/*` which is definitely not expected. Might be better to do the glob expansion here too.