FIX: Coverity Defects

Minor Coverity complaints. Uninitialised values in Ctors, missing NULL check before pointer dereference, potential memory leak in `shash::ContextPtr`, meaningless return value modifier, result code checks...