Address Issue #234; handle duplicate dependencies

In some instances brew installs packages that have dependencies already
listed as a 'resolved' dependency.  This patch checks the brew info for
each package and builds a list of dependencies-of-dependencies.  If any
of these dependencies-of-dependencies is already slated for
installation, it is removed from the list of resolved packages.

-Deal with empty match for regular expression

-Use Popen to maintain compatibility w/python 2.6

-Disable the HomebrewInstaller test if brew is not installed

-import re