fixed code to multiple functions and migrate GetLabRelations to doctrine
change the series of lab_relation parameters
migrate GetLabTransitions to doctrine
migrate GetLabWorkers to doctrine