Remove use of RefCell in Buffer, then throughout Iota.

Instead, we use static checking borrow checking throughout.
This is the exact reason I used RefCell! I never thought to move this out to a separate function. Thanks for this!