Added discovery_check to TestrunsController

Added discovery_check mixin to TestrunsController
post method to avoid the need to call additional
endpoints

Change-Id: Ib900115eee190c1d7385d2ad6bfcda3df7f4b11d
Closes-Bug: #1367359