sc-hsm-ultralite-sample: Added extensive error checking. Added hash state caching. Standardized logging. Added Windows/Linux logging scripts. Added Windows/Linux convenience scripts. General improvements.