completed extract first quote function

+ extract first literal quote from string and replace with sha256sum (10 chars)
+ return the new sequente, the hash and the literal
+ fail on missing closing or empty quotes
+ no quotes return the original string and empty hash, value
+ can be used in a loop