Refactor
Refactor

Update issue 1307
Refactor earlier work
TODO:
- better tests for initialization
- handling of teardown errors

waldenner/robotframework,fiuba08/robotframework,ldtri0209/robotframework,fiuba08/robotframework,ldtri0209/robotframework,ldtri0209/robotframework,waldenner/robotframework,fiuba08/robotframework,fiuba08/robotframework,waldenner/robotframework,waldenner/robotframework,ldtri0209/robotframework,ldtri0209/robotframework,fiuba08/robotframework,waldenner/robotframework