Permit casting region pointers to unsafe ones.
Permit casting static region pointers to unsafe ones.
Inline constants across crates.
auto merge of #5262 : jdm/rust/newconst2, r=pcwalton

r? @pcwalton