* stable-2.16:
TestSubmitType: Enable logErrors when debug logging is enabled
TestSubmitRule: Enable logErrors when debug logging is enabled
Fix typos in test.submit_rule and test.submit_type examples
RestApiServlet: Log JSON parse error at debug level
Change-Id: I04a240a36382d84b3ec7794ed0f0a339dcc90788