add simple easy_getinfo() fn
use ToCStr::with_c_str to replace CString::with_ref
curl_easy_getinfo(): implement ~str, f64, int return type, TODO: ~[~str]
code clean up, use ToStr to convert ~str
easy_getinfo() now may return None
easy_getinfo() now may return None
clean up test
rename callback fn clientp parameter