Update Json documentation and add two function:
 pub fn buffer_encode<T:Encodable<Encoder>>(to_encode_object: &T) -> ~[u8]
 pub fn str_encode<T:Encodable<Encoder>>(to_encode_object: &T) -> ~str
Update test and example.