Python Port: Add get_target_variable to engine interface.

Creates a sibling to `Manager.engine().set_target_variable()`: `get_target_variable()`.

I noticed that `set_target_variable()` makes a call to `do_set_target_variable()` for overriding purposes. Should `get_target_variable()` have the same thing?