Add hashlib api methods and variables

Added member function copy to clone the state of the hash algorithm
added digest size, block_size and name variables to XXH32 and XXH54
types.