Added documents on how things work internally.
Also updated the "Developing Rust Components" section. Added info on
threading issues and removed info covered by the internals docs.
Differential Revision: https://phabricator.services.mozilla.com/D252244