Write hashed bridge fingerprint to logs and to disk.

Implements #10884.
Tighten router_write_fingerprint impl
Unit tests for pk fingerprint functions
Unit tests for test_routerkeys_write_fingerprint
Merge branch 'bug10884_squashed'
whitespace fix