[TestEnv] Better encapsulate devlib.target object
Created by: derkling
Reported by: Morten Rasmussen
Consider making the TestEnv object completely encapsulate the devlib target object so there is no confusion on which one to use. It is currently rather confusing that both TestEnv and the target object implements a reboot() function, but using the target object breaks things.