Add some documentation about globals in ffi docs
auto merge of #8322 : alexcrichton/rust/ffi-dox, r=thestinger

Closes #6756