Use a plain tempfile for IPC

This is more robust and easier to handle than using pipes or sockets.
Marshal may choke on lots of data otherwise.
Simplify Repository#analyze_commits
Save all versions of a formula

Homebrew supports multiple specs (`stable`, `devel` and `head`) for
each formula.

See #22
Improve error messages for import failures