Improve docs and refactore std::os.

Refactored:

* homedir
* setenv
auto merge of #14713 : darnuria/rust/Improve_std_os_documentation_#2, r=alexcrichton

Improving documentation, consistency, removes evils empty lines etc...