Add option to disable MathSearch submissions

Change-Id: I894a1107cfd22c7bb5d668fa2b463b7ac2a8b438