split testapi from bmwqemu

This makes it easier to refactor as we clearer define what the tests
are supposed to access. For this I also added functions to get and set
into %vars
: D If you are embraced in this change, why not follow a single rule? Like use the same name in both levels, or use always _ as a prefix in bmwqemu level.