Bugfixing the search logic and some minor tweaks

This commit solves issue #7, adds a foodcritic tweak and fixes a
problem where the compare fails if you are using Berks to upload your
cookbooks.