LAVA-896 fix level in result export
LAVA-896 fix level in result export

Action data now has properly related test_case id.
Action data is created at the job complete but old code tries to
relate action data to test case when test cases are created.

Change-Id: I108f092dde95d233b6368f91f223edd67b1acc16

Linaro/lava-server,Linaro/lava-server,Linaro/lava-server,Linaro/lava-server