Replaced weakrefs with ffi.gc.
removed weakref usage from hmac and hashlib
Merge branch 'master' into remove-weakrefs