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
synchronize names between testapi and bmwqemu
Merge pull request #118 from os-autoinst/coolo_split_testapi

split testapi from bmwqemu