Refactored log command to allow for easier reuse.

* Added support for showing the log for a tapped repo, and also multiple formulae.
* Added Formula::tap_path