Allow ignoring packages and provide non-zero error code when bad dependencies are found

This enables us to actually check `packunused` in travis-ci and get error reporting.