Add `map` function to `Ref` and `MutRef` of `RefCell`

This enables one to return references to things inside the primary `RefCell`
content, like this code:

```
use std::cell::RefCell;
use std::cell::Ref;

struct ContainsVector {
    vec: RefCell<Vec<u32>>,
}

impl ContainsVector {
    fn new() -> ContainsVector {
        ContainsVector { vec: RefCell::new(vec![0]) }
    }
    fn index<'a>(&'a self, i: uint) -> Ref<'a, &'a u32> {
        self.vec.borrow().map(|v| &v[i])
    }
    fn index_mut<'a>(&'a self, i: uint) -> RefMut<'a, &'a mut u32> {
        self.vec.borrow_mut().map(|v| &mut v[i])
    }
}

fn main() {
    let cv = ContainsVector::new();
    **cv.index_mut(0) = 1;
    cv.index(0);
}
```
New `RefCell<T>` semantics: Fix standard library and compiler