resourcet: introduce 'unprotect method'

unprotect method allowes user to bypass resource cleanup that
allowes to move resource into another resourcet block and reregister
it there.
resourcet: introduce 'reregister'  method

reregister method allowes user safely chage release action