Added API to internal dht item signature functions.
Added test of signature and verification.