Edit Testcase page : Have a view on affected campaign and/or testbattery

- add function to retrieve test battery from test case
- add function to retrieve campaign from test battery

Fix #303
Merge origin/master