Add hash-algorithms library to standard libraries.

sources/lib/hash-algorithms: The code.

Makefile.in: Add tests to 'make check'

documentation/library-reference: Document it.

documentation/release-notes: Add release note.

sources/registry/generic/hash-algorithms*: Add registry entries.