Bug 959652 - Part 1: Replace MessageDigest for NativeCrypto.sha1 in HashAppender.
Bug 959652 - Part 2: Add HashAppender tests.
Bug 959652 - Use NativeCrypto.sha1. r=rnewman