Implemented Decodable/Encodable for Cell and RefCell. Fixes #15395

I ran `make check` and everything went smoothly. I also tested `#[deriving(Decodable, Encodable)]` on a struct containing both Cell<T> and RefCell<T> and everything now seems to work fine.