All MAIs: add optional existing_engine parameter to engine init function

This lets us add the Micro AI candidate actions to an already existing
Lua AI engine and thus combine several MAIs.