Generalise can_be_foreign to flags argument to edgar_spawn_automaton() family.
Design foreign name API.
Fix a few occurrances of calling automata "objects" in docs.