Add keychain integration and update HPN patch.
Add sha1 checking for patches

Add a little paranoia to the formula just to ensure that we're really
downloading what we intend, especially since one of the patches comes
from a gist.